diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-11-04 16:13:49 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-11-04 16:13:49 +0100 |
commit | 455971c1493fc6dc3125d235cf4ea6102cac626d (patch) | |
tree | 4fe3367db4487eebbbffb2516d757fdddf07efba /src/libsystemd/sd-bus/test-bus-kernel.c | |
parent | 635f9f0d95d1cc460f2c59a8fe26ecc358420544 (diff) |
sd-bus: rename "connection name" to "description" for the sd-bus API too
kdbus recently renamed this concept, and so should we in what we expose
in userspace.
Diffstat (limited to 'src/libsystemd/sd-bus/test-bus-kernel.c')
-rw-r--r-- | src/libsystemd/sd-bus/test-bus-kernel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsystemd/sd-bus/test-bus-kernel.c b/src/libsystemd/sd-bus/test-bus-kernel.c index 7bb8b0a540..b138d390d9 100644 --- a/src/libsystemd/sd-bus/test-bus-kernel.c +++ b/src/libsystemd/sd-bus/test-bus-kernel.c @@ -60,7 +60,7 @@ int main(int argc, char *argv[]) { r = sd_bus_new(&b); assert_se(r >= 0); - r = sd_bus_set_name(a, "a"); + r = sd_bus_set_description(a, "a"); assert_se(r >= 0); r = sd_bus_set_address(a, address); @@ -85,7 +85,7 @@ int main(int argc, char *argv[]) { assert_se(r >= 0); printf("unique a: %s\n", ua); - r = sd_bus_get_name(a, &nn); + r = sd_bus_get_description(a, &nn); assert_se(r >= 0); printf("name of a: %s\n", nn); @@ -93,7 +93,7 @@ int main(int argc, char *argv[]) { assert_se(r >= 0); printf("unique b: %s\n", ub); - r = sd_bus_get_name(b, &nn); + r = sd_bus_get_description(b, &nn); assert_se(r >= 0); printf("name of b: %s\n", nn); |