diff options
Diffstat (limited to 'src/socket_util.c')
-rw-r--r-- | src/socket_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket_util.c b/src/socket_util.c index d8a58f9ad..9485ae1e7 100644 --- a/src/socket_util.c +++ b/src/socket_util.c @@ -121,7 +121,7 @@ socket_bind_listen(int domain, int type, int protocol, ret = bind(fd, address, address_length); if (ret < 0) { g_set_error(error, listen_quark(), errno, - "%s", strerror(errno)); + "%s", g_strerror(errno)); close(fd); return -1; } |