提交 212472b8 编写于 作者: J Jim Meyering

avoid format-related warnings

* qemud/qemud.c (main): Fix a bogus format string reported as umarked.
* src/virsh.c (cmdVcpupin): Non-literal with no args.
上级 8383c664
Mon Apr 28 11:08:58 CEST 2008 Jim Meyering <meyering@redhat.com>
avoid format-related warnings
* qemud/qemud.c (main): Fix a bogus format string reported as unmarked.
* src/virsh.c (cmdVcpupin): Non-literal with no args.
Mon Apr 28 10:26:17 CEST 2008 Daniel Veillard <veillard@redhat.com>
* docs/Makefile.am docs/et.png docs/libvirt.css docs/page.xsl
......
......@@ -2164,8 +2164,8 @@ int main(int argc, char **argv) {
const char *sockdirname = LOCAL_STATE_DIR "/run/libvirt";
if (chown(sockdirname, -1, unix_sock_gid) < 0)
qemudLog(QEMUD_ERR, "%s %s",
_("Failed to change group ownership of "), sockdirname);
qemudLog(QEMUD_ERR, _("Failed to change group ownership of %s"),
sockdirname);
}
if (godaemon) {
......
......@@ -1745,7 +1745,7 @@ cmdVcpupin(vshControl * ctl, vshCmd * cmd)
}
if (vcpu >= info.nrVirtCpu) {
vshError(ctl, FALSE, _("vcpupin: Invalid vCPU number."));
vshError(ctl, FALSE, "%s", _("vcpupin: Invalid vCPU number."));
virDomainFree(dom);
return FALSE;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册