[systemd-devel] [PATCH 5/5] sd-bus: add missing format attribute
Lennart Poettering
lennart at poettering.net
Mon Feb 16 08:21:54 PST 2015
On Mon, 16.02.15 01:09, Cristian RodrÃguez (crrodriguez at opensuse.org) wrote:
> ---
> src/systemd/sd-bus.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/systemd/sd-bus.h b/src/systemd/sd-bus.h
> index 2420d0c..ca2d83e 100644
> --- a/src/systemd/sd-bus.h
> +++ b/src/systemd/sd-bus.h
> @@ -371,7 +371,7 @@ int sd_bus_error_setf(sd_bus_error *e, const char *name, const char *format, ...
> int sd_bus_error_set_const(sd_bus_error *e, const char *name, const char *message);
> int sd_bus_error_set_errno(sd_bus_error *e, int error);
> int sd_bus_error_set_errnof(sd_bus_error *e, int error, const char *format, ...) _sd_printf_(3, 4);
> -int sd_bus_error_set_errnofv(sd_bus_error *e, int error, const char *format, va_list ap);
> +int sd_bus_error_set_errnofv(sd_bus_error *e, int error, const char *format, va_list ap) _sd_printf_(3,0);
> int sd_bus_error_get_errno(const sd_bus_error *e);
> int sd_bus_error_copy(sd_bus_error *dest, const sd_bus_error *e);
> int sd_bus_error_is_set(const sd_bus_error *e);
Applied! Thanks!
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list