]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix a string format bug in qemu_cgroup.c
authortangchen <tangchen@cn.fujitsu.com>
Fri, 6 Jul 2012 01:53:11 +0000 (09:53 +0800)
committerCole Robinson <crobinso@redhat.com>
Sun, 12 Aug 2012 23:23:50 +0000 (19:23 -0400)
Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
(cherry picked from commit 097da1abbd25da5876850785f6b9e742166b16d4)

src/qemu/qemu_cgroup.c

index a07b6cdb20606f59e0bf8db5182317b3531dae53..a18101d804194c16c5fb89e2674389f8bf20f75c 100644 (file)
@@ -464,8 +464,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;