From 61adca52f6f0b119e501c523008a454887cdf2b9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 13 Feb 2015 15:34:11 +0100 Subject: bus-proxy: no need to negate error codes, log_error_errno() already does it --- src/bus-proxyd/proxy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bus-proxyd') 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; -- cgit v1.2.3