summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-02-13 15:34:11 +0100
committerLennart Poettering <lennart@poettering.net>2015-02-13 15:49:51 +0100
commit61adca52f6f0b119e501c523008a454887cdf2b9 (patch)
tree0eabd72f777219966a965b06c3a26dd21e470a9b
parentbus-proxy: tell Coverity we don't care about these return values (diff)
downloadsystemd-61adca52f6f0b119e501c523008a454887cdf2b9.tar.xz
systemd-61adca52f6f0b119e501c523008a454887cdf2b9.zip
bus-proxy: no need to negate error codes, log_error_errno() already does it
-rw-r--r--src/bus-proxyd/proxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bus-proxyd/proxy.c b/src/bus-proxyd/proxy.c
index fb2409233c..1c72eac366 100644
--- a/src/bus-proxyd/proxy.c
+++ b/src/bus-proxyd/proxy.c
@@ -576,11 +576,11 @@ static int process_hello(Proxy *p, sd_bus_message *m) {
if (p->got_hello)
return 0;
- return log_error_errno(-EIO, "First packet isn't hello (it's %s.%s), aborting.", m->interface, m->member);
+ return log_error_errno(EIO, "First packet isn't hello (it's %s.%s), aborting.", m->interface, m->member);
}
if (p->got_hello)
- return log_error_errno(-EIO, "Got duplicate hello, aborting.");
+ return log_error_errno(EIO, "Got duplicate hello, aborting.");
p->got_hello = true;