]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
build: fix typo in debug message
authorEric Blake <eblake@redhat.com>
Tue, 2 Oct 2012 12:36:50 +0000 (06:36 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 2 Oct 2012 12:37:46 +0000 (06:37 -0600)
Introduced in commit 0caccb58.

  CC     libvirt_driver_qemu_impl_la-qemu_capabilities.lo
../../src/qemu/qemu_capabilities.c: In function 'qemuCapsInitQMP':
../../src/qemu/qemu_capabilities.c:2327:13: error: format '%d' expects argument of type 'int', but argument 8 has type 'const char *' [-Werror=format]

* src/qemu/qemu_capabilities.c (qemuCapsInitQMP): Use correct format.

src/qemu/qemu_capabilities.c

index 759f5bb9686264518dc232a22e7ee6d76cd55d73..a5eb995a60e3ddf9f777d82df53df2d6e1fa4522 100644 (file)
@@ -2324,7 +2324,7 @@ cleanup:
         int rc;
 
         if ((rc = virPidFileReadPath(pidfile, &pid)) < 0) {
-            VIR_DEBUG("Failed to read pidfile %s: %d",
+            VIR_DEBUG("Failed to read pidfile %s: %s",
                       pidfile, virStrerror(-rc, ebuf, sizeof(ebuf)));
         } else {
             VIR_DEBUG("Killing QMP caps process %lld", (long long) pid);