From: Yu Watanabe Date: Mon, 25 Jun 2018 04:08:02 +0000 (+0900) Subject: bus-util: fix error handling X-Git-Tag: v240~1051^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0ceff9068d4def8895929ba8c201a23502a7f941;p=thirdparty%2Fsystemd.git bus-util: fix error handling --- 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(); }