[libvirt] [PATCH] qemu: Fix non-literal format string

Jiri Denemark jdenemar at redhat.com
Tue Nov 9 10:10:57 UTC 2010


---
 src/qemu/qemu_conf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Pushed as a trivial build breaker.


diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c
index 7d2a1d6..a506064 100644
--- a/src/qemu/qemu_conf.c
+++ b/src/qemu/qemu_conf.c
@@ -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;
             }
-- 
1.7.3.2




More information about the libvir-list mailing list