_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 <smcv@collabora.com>
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=61922
This commit is contained in:
Simon McVittie 2018-03-08 13:26:53 +00:00
parent 1d85b229b3
commit a97b6b597b

View file

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