]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: Fix build breaker on printf directive
authorJohn Ferlan <jferlan@redhat.com>
Mon, 15 Sep 2014 15:37:20 +0000 (11:37 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 15 Sep 2014 15:37:20 +0000 (11:37 -0400)
%zu for size_t not %lu

src/qemu/qemu_monitor.c

index 89446d702415676bf9279a4d98e6d66cf63962a2..3a32a4f5534030bf2178d1a0e0444eb477cadcbe 100644 (file)
@@ -499,7 +499,7 @@ qemuMonitorIOWrite(qemuMonitorPtr mon)
         done = qemuMonitorIOWriteWithFD(mon, buf, len, mon->msg->txFD);
 
     PROBE(QEMU_MONITOR_IO_WRITE,
-          "mon=%p buf=%s len=%lu ret=%d errno=%d",
+          "mon=%p buf=%s len=%zu ret=%d errno=%d",
           mon, buf, len, done, errno);
 
     if (mon->msg->txFD != -1) {