diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-09-22 17:32:26 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-09-22 17:58:11 +0200 |
commit | 90e207e41fe19327841988a7efd301833b986b19 (patch) | |
tree | 3abe850bc48b16a3c2b2f328b65e993fc2473585 /src/libsystemd/sd-bus/test-bus-chat.c | |
parent | afa8ffae99284ea0c8f146c6e0450e5321bce059 (diff) | |
download | systemd-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.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 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)); |