From 0ceff9068d4def8895929ba8c201a23502a7f941 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Mon, 25 Jun 2018 13:08:02 +0900 Subject: [PATCH] bus-util: fix error handling --- src/shared/bus-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c index a4f2deba31e..09e126d7f2a 100644 --- a/src/shared/bus-util.c +++ b/src/shared/bus-util.c @@ -937,7 +937,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(); } -- 2.47.3