diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-01-22 11:21:51 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-01-22 11:21:51 +0100 |
commit | 4fc319887efb4c68ec5a308d583a94510382f686 (patch) | |
tree | 8c10a4abaf3dd4b8ba4ffcf4884b75e84fe2b009 /src/libsystemd/sd-bus/test-bus-kernel.c | |
parent | 6a0e376c1cd303ff09777e5d18f070fe43e6b915 (diff) |
bus: simplify naming of feature negotation calls
Two verbs in a function name suck, so let's simplify this a bit.
Diffstat (limited to 'src/libsystemd/sd-bus/test-bus-kernel.c')
-rw-r--r-- | src/libsystemd/sd-bus/test-bus-kernel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libsystemd/sd-bus/test-bus-kernel.c b/src/libsystemd/sd-bus/test-bus-kernel.c index 9b17a35e4a..3dcc5d351d 100644 --- a/src/libsystemd/sd-bus/test-bus-kernel.c +++ b/src/libsystemd/sd-bus/test-bus-kernel.c @@ -65,11 +65,11 @@ int main(int argc, char *argv[]) { r = sd_bus_set_address(b, address); assert_se(r >= 0); - assert_se(sd_bus_negotiate_attach_timestamp(a, 1) >= 0); - assert_se(sd_bus_negotiate_attach_creds(a, _SD_BUS_CREDS_ALL) >= 0); + assert_se(sd_bus_negotiate_timestamp(a, 1) >= 0); + assert_se(sd_bus_negotiate_creds(a, _SD_BUS_CREDS_ALL) >= 0); - assert_se(sd_bus_negotiate_attach_timestamp(b, 1) >= 0); - assert_se(sd_bus_negotiate_attach_creds(b, _SD_BUS_CREDS_ALL) >= 0); + assert_se(sd_bus_negotiate_timestamp(b, 1) >= 0); + assert_se(sd_bus_negotiate_creds(b, _SD_BUS_CREDS_ALL) >= 0); r = sd_bus_start(a); assert_se(r >= 0); |