]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: Fix warning about a non-literal format string
authorMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 7 May 2010 15:47:16 +0000 (17:47 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 7 May 2010 15:47:16 +0000 (17:47 +0200)
src/qemu/qemu_driver.c

index 92dc22decc6ec3fd926d5d079c895b6208d31036..bb1079e640780ee2e7017b73f4394193ebccddeb 100644 (file)
@@ -7968,7 +7968,7 @@ static int qemudDomainDetachSCSIDiskDevice(struct qemud_driver *driver,
     }
 
     if (!(qemuCmdFlags & QEMUD_CMD_FLAG_DEVICE)) {
-        qemuReportError(VIR_ERR_OPERATION_FAILED,
+        qemuReportError(VIR_ERR_OPERATION_FAILED, "%s",
                         _("Underlying qemu does not support SCSI disk removal"));
         goto cleanup;
     }