cpu: Fix segfault in the ppc64 driver

Commit adb865d introduced some changes in ppc64DriverNodeData()
that cause libvirtd to crash on startup unless this patch is
applied as well.
This commit is contained in:
Andrea Bolognani 2015-08-11 17:51:28 +02:00
parent b044e3257f
commit 133c25c81c

View File

@ -628,7 +628,7 @@ ppc64DriverNodeData(virArch arch)
if (VIR_ALLOC(nodeData) < 0)
goto error;
if (VIR_ALLOC(data) < 0)
if (VIR_ALLOC(nodeData->data.ppc64) < 0)
goto error;
data = nodeData->data.ppc64;