mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-02-19 14:40:54 +01:00
_dbus_listen_tcp_socket: correct format string
res is an integer, not a string. Bug found by adding more _DBUS_GNUC_PRINTF attributes. Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
parent
95af34cdb8
commit
a14fcb7066
1 changed files with 1 additions and 1 deletions
|
|
@ -1609,7 +1609,7 @@ _dbus_listen_tcp_socket (const char *host,
|
|||
NI_NUMERICHOST | NI_NUMERICSERV)) != 0)
|
||||
{
|
||||
dbus_set_error (error, _dbus_error_from_errno (errno),
|
||||
"Failed to resolve port \"%s:%s\": %s (%s)",
|
||||
"Failed to resolve port \"%s:%s\": %s (%d)",
|
||||
host ? host : "*", port, gai_strerror(res), res);
|
||||
goto failed;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue