summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-error.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-02-13 15:34:54 +0100
committerLennart Poettering <lennart@poettering.net>2015-02-13 15:49:51 +0100
commit07a0d22f9ec5a0cac2385b73dc08b12a811cead8 (patch)
treeb4b71cb5af735f41f021ad1bc9722698e2d222d7 /src/libsystemd/sd-bus/bus-error.c
parent61adca52f6f0b119e501c523008a454887cdf2b9 (diff)
sd-bus: export sd_bus_error_set_errnofv()
Diffstat (limited to 'src/libsystemd/sd-bus/bus-error.c')
-rw-r--r--src/libsystemd/sd-bus/bus-error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd/sd-bus/bus-error.c b/src/libsystemd/sd-bus/bus-error.c
index 09800ec7d7..3bf0c5d3e4 100644
--- a/src/libsystemd/sd-bus/bus-error.c
+++ b/src/libsystemd/sd-bus/bus-error.c
@@ -468,7 +468,7 @@ _public_ int sd_bus_error_set_errno(sd_bus_error *e, int error) {
return -error;
}
-int bus_error_set_errnofv(sd_bus_error *e, int error, const char *format, va_list ap) {
+_public_ int sd_bus_error_set_errnofv(sd_bus_error *e, int error, const char *format, va_list ap) {
PROTECT_ERRNO;
int r;
@@ -551,7 +551,7 @@ _public_ int sd_bus_error_set_errnof(sd_bus_error *e, int error, const char *for
va_list ap;
va_start(ap, format);
- r = bus_error_set_errnofv(e, error, format, ap);
+ r = sd_bus_error_set_errnofv(e, error, format, ap);
va_end(ap);
return r;