Fix syntax check errors

This commit is contained in:
Daniel P. Berrange 2008-10-24 12:05:39 +00:00
parent 3091bdd31a
commit bfc86e8a74
4 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Fri Oct 24 13:04:23 BST Daniel P. Berrange <berrange@redhat.com>
* src/storage_conf.c: Remove <tab> character
* include/libvirt/libvirt.h.in: Remove trailing whitespace
Fri Oct 24 12:32:23 BST Daniel P. Berrange <berrange@redhat.com>
* src/openvz_conf.c, src/openvz_conf.h: Extract version

View File

@ -1283,7 +1283,7 @@ char *virStoragePoolSourceListFormat(virConnectPtr conn ATTRIBUTE_UNUSED,
virBufferVSprintf(&buf, "<source><name>%s</name>", def->sources[i].name);
for (j = 0; j < def->sources[i].ndevice; j++)
virBufferVSprintf(&buf, "<device path='%s'/>", def->sources[i].devices[j].path);
virBufferAddLit(&buf, "</source>");
virBufferAddLit(&buf, "</source>");
}
virBufferAddLit(&buf, "</sources>");