summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-10-14 22:30:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:58 -0500
commit6ae9b63f012b6cc3accd129016fc4c1cf2c29322 (patch)
tree18bfab5da30b3bf3e64d167eb95f83cf1b412904 /source3
parent26c106e0838db54aafddf1e0f7e4781510dbc582 (diff)
downloadsamba-6ae9b63f012b6cc3accd129016fc4c1cf2c29322.tar.gz
samba-6ae9b63f012b6cc3accd129016fc4c1cf2c29322.tar.bz2
samba-6ae9b63f012b6cc3accd129016fc4c1cf2c29322.zip
r2978: Fix #1926 typo in debug. Found by Bill McGonigle <bill+samba@bfccomputing.com>.
Jeremy. (This used to be commit 4fd314243e82d9c55bc9849a722424d45553013e)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util_sock.c2
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;
}