summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/test-bus-chat.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-09-22 17:32:26 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-09-22 17:58:11 +0200
commit90e207e41fe19327841988a7efd301833b986b19 (patch)
tree3abe850bc48b16a3c2b2f328b65e993fc2473585 /src/libsystemd/sd-bus/test-bus-chat.c
parentafa8ffae99284ea0c8f146c6e0450e5321bce059 (diff)
downloadsystemd-90e207e41fe19327841988a7efd301833b986b19.tar.gz
test-bus-chat: add missing return value in check
Diffstat (limited to 'src/libsystemd/sd-bus/test-bus-chat.c')
-rw-r--r--src/libsystemd/sd-bus/test-bus-chat.c2
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 7a35d912de..f67d06ecec 100644
--- a/src/libsystemd/sd-bus/test-bus-chat.c
+++ b/src/libsystemd/sd-bus/test-bus-chat.c
@@ -70,7 +70,7 @@ static int server_init(sd_bus **_bus) {
goto fail;
}
- r = sd_bus_get_description(bus, &desc);
+ assert_se(sd_bus_get_description(bus, &desc) >= 0);
assert_se(streq(desc, "my bus!"));
log_info("Peer ID is " SD_ID128_FORMAT_STR ".", SD_ID128_FORMAT_VAL(id));