diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c index a275ddabb9..19fb41f6ca 100644 --- a/source3/lib/util_sock.c +++ b/source3/lib/util_sock.c @@ -714,7 +714,7 @@ int open_socket_out(int type, struct in_addr *addr, int port ,int timeout) /* create a socket to write to */ res = socket(PF_INET, type, 0); if (res == -1) { - DEBUG(0,("socket error\n")); + DEBUG(0,("socket error (%s)\n", strerror(errno))); return -1; } |