summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-06-25 13:08:02 +0900
committerSven Eden <sven.eden@prydeworx.com>2018-10-29 10:18:22 +0100
commitf554f9be86351faa0e19f070ee74ff9190beb669 (patch)
tree69ee650f80515d4fbd3d17b18702d0dd22088caa
parentdd3dccc1bb10ffd6907c3c203a5d63d6cd63c63f (diff)
bus-util: fix error handling
(cherry picked from commit 0ceff9068d4def8895929ba8c201a23502a7f941)
-rw-r--r--src/shared/bus-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c
index c3be78769..f7599b6ac 100644
--- a/src/shared/bus-util.c
+++ b/src/shared/bus-util.c
@@ -941,7 +941,7 @@ int bus_message_print_all_properties(
return log_oom();
r = set_put(*found_properties, name);
- if (r < 0 && r != EEXIST)
+ if (r < 0 && r != -EEXIST)
return log_oom();
}