diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-04-02 14:49:28 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-04-02 14:54:38 +0200 |
commit | 0c21dafb54dea7564c6a0f063492926f495006b9 (patch) | |
tree | c0e21c07cf40cf03b83a4910620bcd209313fa18 /src/shared/bus-util.c | |
parent | d737b451fe64b659bfe1128052c9d4cb129f4bf0 (diff) | |
download | systemd-0c21dafb54dea7564c6a0f063492926f495006b9.tar.gz |
util-lib: use FLAGS_SET() where appropriate
Diffstat (limited to 'src/shared/bus-util.c')
-rw-r--r-- | src/shared/bus-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c index 1911dd0ce6..00120e9874 100644 --- a/src/shared/bus-util.c +++ b/src/shared/bus-util.c @@ -756,7 +756,7 @@ static int bus_print_property(const char *name, const char *expected_value, sd_b if ((u & NAMESPACE_FLAGS_ALL) == 0) result = "yes"; - else if ((u & NAMESPACE_FLAGS_ALL) == NAMESPACE_FLAGS_ALL) + else if (FLAGS_SET(u, NAMESPACE_FLAGS_ALL)) result = "no"; else { r = namespace_flags_to_string(u, &s); |