problem when generating the capabilities in the test driver.
Daniel
+Mon Mar 3 21:17:29 CET 2008 Daniel Veillard <veillard@redhat.com>
+
+ * 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 <meyering@redhat.com>
Don't use first byte of string as a pointer.
caps->host.numaCell[i]->ncpus) < 0)
goto no_memory;
for (j = 0 ; j < caps->host.numaCell[i]->ncpus ; j++)
- if (virBufferVSprintf(&xml, " <cpu id='%d'>\n",
+ if (virBufferVSprintf(&xml, " <cpu id='%d'/>\n",
caps->host.numaCell[i]->cpus[j]) < 0)
goto no_memory;
if (virBufferAddLit(&xml, " </cpus>\n") < 0)