From a8078a5c6cb9b45a794a77363e1efd22e6002580 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 8 Mar 2018 13:26:53 +0000 Subject: [PATCH 2/7] _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 --- dbus/dbus-sysdeps-unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c index 675e95ad..beeb34ee 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; } -- 2.16.2