Wed Oct 17 11:27:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

* src/xend_internal.c (sexpr_get): Declare with gcc's printf
        attribute. (Jim Meyering)
This commit is contained in:
Richard W.M. Jones 2007-10-17 10:33:16 +00:00
parent b4fab30b89
commit 4e04ee2d2f
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Wed Oct 17 11:27:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* src/xend_internal.c (sexpr_get): Declare with gcc's printf
attribute. (Jim Meyering)
Mon Oct 15 17:35:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* src/driver.h, src/libvirt.c, include/libvirt/libvirt.h.in,

View File

@ -690,6 +690,9 @@ xend_op(virConnectPtr xend, const char *name, const char *key, ...)
*
* Returns a parsed S-Expression in case of success, NULL in case of failure
*/
static struct sexpr *sexpr_get(virConnectPtr xend, const char *fmt, ...)
ATTRIBUTE_FORMAT(printf,2,3);
static struct sexpr *
sexpr_get(virConnectPtr xend, const char *fmt, ...)
{