summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2015-02-16 01:09:55 -0300
committerLennart Poettering <lennart@poettering.net>2015-02-16 17:20:24 +0100
commit83e44331339fa12b93cbee40e6ee449d2d878deb (patch)
tree9ac0e3b2dbac70e0b160abb5abc9da0494e8bcc4
parentd2c643c662e2cb3b6d1445c17c80b4b2998d5c61 (diff)
sd-bus: add missing format attribute
-rw-r--r--src/systemd/sd-bus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemd/sd-bus.h b/src/systemd/sd-bus.h
index 2420d0c062..ca2d83e0e1 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);