From 6ae9b63f012b6cc3accd129016fc4c1cf2c29322 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 14 Oct 2004 22:30:33 +0000 Subject: r2978: Fix #1926 typo in debug. Found by Bill McGonigle . Jeremy. (This used to be commit 4fd314243e82d9c55bc9849a722424d45553013e) --- source3/lib/util_sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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; } -- cgit