bus-proxy: no need to negate error codes, log_error_errno() already does it

This commit is contained in:
Lennart Poettering 2015-02-13 15:34:11 +01:00
parent 1140e15410
commit 61adca52f6

View file

@ -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;