From a97b6b597b53e022f11dfb265dda471ffdbfaa0f Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 8 Mar 2018 13:26:53 +0000 Subject: [PATCH] _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 --- 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; }