mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 05:17:59 +03:00
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.
This commit is contained in:
parent
8383c6640a
commit
212472b813
@ -1,3 +1,9 @@
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user