mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-30 21:47:18 +00: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>
|
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
|
* 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";
|
const char *sockdirname = LOCAL_STATE_DIR "/run/libvirt";
|
||||||
|
|
||||||
if (chown(sockdirname, -1, unix_sock_gid) < 0)
|
if (chown(sockdirname, -1, unix_sock_gid) < 0)
|
||||||
qemudLog(QEMUD_ERR, "%s %s",
|
qemudLog(QEMUD_ERR, _("Failed to change group ownership of %s"),
|
||||||
_("Failed to change group ownership of "), sockdirname);
|
sockdirname);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (godaemon) {
|
if (godaemon) {
|
||||||
|
@ -1745,7 +1745,7 @@ cmdVcpupin(vshControl * ctl, vshCmd * cmd)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (vcpu >= info.nrVirtCpu) {
|
if (vcpu >= info.nrVirtCpu) {
|
||||||
vshError(ctl, FALSE, _("vcpupin: Invalid vCPU number."));
|
vshError(ctl, FALSE, "%s", _("vcpupin: Invalid vCPU number."));
|
||||||
virDomainFree(dom);
|
virDomainFree(dom);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user