diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-07-26 14:59:52 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-07-26 15:08:42 -0400 |
commit | 8f077bf94e129fa1b6f0159e3140c4326f1066cf (patch) | |
tree | 86e09f4e9720253c641a00cd6619b6ec0493524b /src/libsystemd/sd-bus/bus-kernel.h | |
parent | 4aa4d2ae9717d0f8656528a3197bbc0c256380b1 (diff) |
Print kdbus path when opening fails
This makes it easier to debug what is going on.
Diffstat (limited to 'src/libsystemd/sd-bus/bus-kernel.h')
-rw-r--r-- | src/libsystemd/sd-bus/bus-kernel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-kernel.h b/src/libsystemd/sd-bus/bus-kernel.h index 2fe2495a6c..87f98c58bf 100644 --- a/src/libsystemd/sd-bus/bus-kernel.h +++ b/src/libsystemd/sd-bus/bus-kernel.h @@ -65,7 +65,7 @@ int bus_kernel_take_fd(sd_bus *b); int bus_kernel_write_message(sd_bus *bus, sd_bus_message *m, bool hint_sync_call); int bus_kernel_read_message(sd_bus *bus, bool hint_priority, int64_t priority); -int bus_kernel_open_bus_fd(const char *bus); +int bus_kernel_open_bus_fd(const char *bus, char **path); int bus_kernel_make_starter(int fd, const char *name, bool activating, bool accept_fd, BusNamePolicy *policy, BusNamePolicyAccess world_policy); int bus_kernel_create_bus(const char *name, bool world, char **s); |