Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > ebe084c140192657f9094e135a84202c > files > 108

libvirt-0.8.2-29.el5.src.rpm

From c630eeb579a24b0370e82aa7cb7ca3b06b21917d Mon Sep 17 00:00:00 2001
Message-Id: <c630eeb579a24b0370e82aa7cb7ca3b06b21917d.1305127059.git.jdenemar@redhat.com>
From: Jiri Denemark <jdenemar@redhat.com>
Date: Mon, 9 May 2011 17:22:17 -0600
Subject: [PATCH] qemu: Fix non-literal format string

https://bugzilla.redhat.com/show_bug.cgi?id=661365

(cherry picked from commit 0011e917707d065563d091cfd3f4a0e5af5051ec)
---
 src/qemu/qemu_conf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c
index bba7d96..255453b 100644
--- a/src/qemu/qemu_conf.c
+++ b/src/qemu/qemu_conf.c
@@ -3911,7 +3911,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.5.rc3