]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: Fix non-literal format string
authorJiri Denemark <jdenemar@redhat.com>
Tue, 9 Nov 2010 10:03:32 +0000 (11:03 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 9 Nov 2010 10:08:45 +0000 (11:08 +0100)
src/qemu/qemu_conf.c

index 7d2a1d63675e8bc4b9f7ecef143bcec8a7c1ba57..a506064012516cf4741c0fadcb283c9f92c90468 100644 (file)
@@ -4185,7 +4185,7 @@ int qemudBuildCommandLine(virConnectPtr conn,
         /* should we really error out or just warn in those cases ? */
         if (def->os.smbios_mode == VIR_DOMAIN_SMBIOS_HOST) {
             if (driver->hostsysinfo == NULL) {
-                qemuReportError(VIR_ERR_CONFIG_UNSUPPORTED,
+                qemuReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
                             _("Host SMBIOS information is not available"));
                 goto error;
             }