[libvirt] [PATCH] Fix a string format bug in qemu_cgroup.c

tangchen tangchen at cn.fujitsu.com
Fri Jul 6 01:53:11 UTC 2012


Signed-off-by: Tang Chen <tangchen at cn.fujitsu.com>
---
 src/qemu/qemu_cgroup.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/qemu/qemu_cgroup.c b/src/qemu/qemu_cgroup.c
index f8f375f..662d41d 100644
--- a/src/qemu/qemu_cgroup.c
+++ b/src/qemu/qemu_cgroup.c
@@ -473,8 +473,8 @@ cleanup:
         rc = virCgroupSetCpuCfsPeriod(cgroup, old_period);
         if (rc < 0)
             virReportSystemError(-rc,
-                                 _("%s"),
-                                 "Unable to rollback cpu bandwidth period");
+                                 "%s",
+                                 _("Unable to rollback cpu bandwidth period"));
     }

     return -1;
-- 
1.7.3.1

-- 
Best Regards,
Tang chen




More information about the libvir-list mailing list