mirror of https://gitee.com/openkylin/libvirt.git
Fix syntax check errors
This commit is contained in:
parent
3091bdd31a
commit
bfc86e8a74
|
@ -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
|
||||
|
|
|
@ -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>");
|
||||
|
|
Loading…
Reference in New Issue