From: Simon McVittie Date: Thu, 8 Mar 2018 13:26:53 +0000 (+0000) Subject: _dbus_append_address_from_socket: Correct misleading error message X-Git-Tag: dbus-1.13.4~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a97b6b597b53e022f11dfb265dda471ffdbfaa0f;p=thirdparty%2Fdbus.git _dbus_append_address_from_socket: Correct misleading error message If what actually failed was reading the address from the socket, we might as well say so. Signed-off-by: Simon McVittie Reviewed-by: Ralf Habacker Bug: https://bugs.freedesktop.org/show_bug.cgi?id=61922 --- diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c index 675e95add..beeb34ee0 100644 --- a/dbus/dbus-sysdeps-unix.c +++ b/dbus/dbus-sysdeps-unix.c @@ -4742,7 +4742,7 @@ _dbus_append_address_from_socket (DBusSocket fd, err: dbus_set_error (error, _dbus_error_from_errno (errno), - "Failed to open socket: %s", + "Failed to read address from socket: %s", _dbus_strerror (errno)); return FALSE; }