[libvirt] [PATCH] add another SENTINEL attribute
Daniel Veillard
veillard at redhat.com
Mon Nov 30 09:49:50 UTC 2009
On Fri, Nov 27, 2009 at 04:15:04PM +0100, Paolo Bonzini wrote:
> xend_op also can benefit from the attribute.
>
> * src/xen/xend_internal.c (xend_op): Add ATTRIBUTE_SENTINEL.
> ---
> src/xen/xend_internal.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/xen/xend_internal.c b/src/xen/xend_internal.c
> index 4d9dcd1..66d2e7f 100644
> --- a/src/xen/xend_internal.c
> +++ b/src/xen/xend_internal.c
> @@ -552,7 +552,7 @@ xend_op_ext(virConnectPtr xend, const char *path, char *error,
> *
> * Returns 0 in case of success, -1 in case of failure.
> */
> -static int
> +static int ATTRIBUTE_SENTINEL
> xend_op(virConnectPtr xend, const char *name, const char *key, ...)
> {
> char buffer[1024];
Trivial, makes sense, pushed,
thanks !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list
mailing list