diff --git a/ChangeLog b/ChangeLog index 50e48f6aff..9c1a1e2d5d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Mar 3 21:17:29 CET 2008 Daniel Veillard + + * src/capabilities.c: Cole Robinson pointed out a well formedness + problem when generating the capabilities in the test driver. + Mon Mar 3 19:09:51 CET 2008 Jim Meyering Don't use first byte of string as a pointer. diff --git a/src/capabilities.c b/src/capabilities.c index bedd445923..01bb30803d 100644 --- a/src/capabilities.c +++ b/src/capabilities.c @@ -583,7 +583,7 @@ virCapabilitiesFormatXML(virCapsPtr caps) caps->host.numaCell[i]->ncpus) < 0) goto no_memory; for (j = 0 ; j < caps->host.numaCell[i]->ncpus ; j++) - if (virBufferVSprintf(&xml, " \n", + if (virBufferVSprintf(&xml, " \n", caps->host.numaCell[i]->cpus[j]) < 0) goto no_memory; if (virBufferAddLit(&xml, " \n") < 0)