提交 bfc86e8a 编写于 作者: D Daniel P. Berrange

Fix syntax check errors

上级 3091bdd3
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
......
......@@ -1021,7 +1021,7 @@ typedef enum {
* @event: The specfic virDomainEventType which occured
* @opaque: opaque user data
*
* A callback function to be registered, and called when a domain event occurs
* A callback function to be registered, and called when a domain event occurs
*/
typedef int (*virConnectDomainEventCallback)(virConnectPtr conn,
virDomainPtr dom,
......
......@@ -1021,7 +1021,7 @@ typedef enum {
* @event: The specfic virDomainEventType which occured
* @opaque: opaque user data
*
* A callback function to be registered, and called when a domain event occurs
* A callback function to be registered, and called when a domain event occurs
*/
typedef int (*virConnectDomainEventCallback)(virConnectPtr conn,
virDomainPtr dom,
......
......@@ -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>");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册