diff options
-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 4b9881a449..8c16533bf9 100644 --- a/source3/lib/util_sock.c +++ b/source3/lib/util_sock.c @@ -43,7 +43,7 @@ static char *get_socket_addr(int fd) } if (getsockname(fd, &sa, &length) < 0) { - DEBUG(0,("getpeername failed. Error was %s\n", strerror(errno) )); + DEBUG(0,("getsockname failed. Error was %s\n", strerror(errno) )); return addr_buf; } |