diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-11-28 16:38:47 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-11-28 20:29:43 +0100 |
commit | 5c3026927de9dfa60ad6ae8326fef5d7824e723e (patch) | |
tree | 6e31a4fea775b3eb5f1afa5cfe484cef97fc9820 /src/libsystemd/sd-bus/test-bus-chat.c | |
parent | treewide: another round of simplifications (diff) | |
download | systemd-5c3026927de9dfa60ad6ae8326fef5d7824e723e.tar.xz systemd-5c3026927de9dfa60ad6ae8326fef5d7824e723e.zip |
sd-bus: rename sd_bus_get_owner_id() → sd_bus_get_bus_id()
The ID returned really doesn't identify the owner, but the bus instance,
hence fix this misnaming.
Also, update "busctl status" to show the ID in its output.
Diffstat (limited to 'src/libsystemd/sd-bus/test-bus-chat.c')
-rw-r--r-- | src/libsystemd/sd-bus/test-bus-chat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/test-bus-chat.c b/src/libsystemd/sd-bus/test-bus-chat.c index 4a025d69ea..06edd621e4 100644 --- a/src/libsystemd/sd-bus/test-bus-chat.c +++ b/src/libsystemd/sd-bus/test-bus-chat.c @@ -76,7 +76,7 @@ static int server_init(sd_bus **_bus) { goto fail; } - r = sd_bus_get_owner_id(bus, &id); + r = sd_bus_get_bus_id(bus, &id); if (r < 0) { log_error_errno(r, "Failed to get server ID: %m"); goto fail; |