summaryrefslogtreecommitdiff
path: root/src/bus-proxyd/proxy.c
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 /src/bus-proxyd/proxy.c
parent1140e154100f7224fb8bab55ba7fc087409f9d76 (diff)
bus-proxy: no need to negate error codes, log_error_errno() already does it
Diffstat (limited to 'src/bus-proxyd/proxy.c')
-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;