X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbus-proxyd%2Fproxy.c;h=1c72eac36691e17a45f1f1d4ffcc8fdd9e0eb029;hp=fb2409233c54a6d0cd7e17eea146f10e131687bb;hb=61adca52f6f0b119e501c523008a454887cdf2b9;hpb=1140e154100f7224fb8bab55ba7fc087409f9d76 diff --git a/src/bus-proxyd/proxy.c b/src/bus-proxyd/proxy.c index fb2409233..1c72eac36 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;