mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
don't print an uninitialized integer in a diagnostic
* src/virterror.c (__virErrorMsg) [VIR_ERR_XEN_CALL]: Use a format with only one % directive.
This commit is contained in:
parent
c8dc7e8ce2
commit
b5bb5d950f
@ -1,4 +1,10 @@
|
||||
Tue, 4 Nov 2008 14:58:30 +0100 Jim Meyering <meyering@redhat.com>
|
||||
Tue Nov 4 14:58:31 CET 2008 Jim Meyering <meyering@redhat.com>
|
||||
|
||||
don't print an uninitialized integer in a diagnostic
|
||||
* src/virterror.c (__virErrorMsg) [VIR_ERR_XEN_CALL]:
|
||||
Use a format with only one % directive.
|
||||
|
||||
Tue Nov 4 14:58:30 CET 2008 Jim Meyering <meyering@redhat.com>
|
||||
|
||||
add a test for today's fix
|
||||
* tests/cpuset: New script. Test for today's fix.
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* virterror.c: implements error handling and reporting code for libvirt
|
||||
*
|
||||
* Copy: Copyright (C) 2006 Red Hat, Inc.
|
||||
* Copy: Copyright (C) 2006, 2008 Red Hat, Inc.
|
||||
*
|
||||
* See COPYING.LIB for the License of this software
|
||||
*
|
||||
@ -516,7 +516,7 @@ __virErrorMsg(virErrorNumber error, const char *info)
|
||||
errmsg = _("could not connect to Xen Store %s");
|
||||
break;
|
||||
case VIR_ERR_XEN_CALL:
|
||||
errmsg = _("failed Xen syscall %s %d");
|
||||
errmsg = _("failed Xen syscall %s");
|
||||
break;
|
||||
case VIR_ERR_OS_TYPE:
|
||||
if (info == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user