aboutsummaryrefslogtreecommitdiff
path: root/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'socket.h')
-rw-r--r--socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket.h b/socket.h
index def8104..092d448 100644
--- a/socket.h
+++ b/socket.h
@@ -717,7 +717,7 @@ af_addr_size(unsigned short af)
default:
#if 0
/* could be called from socket_do_accept() with empty addr */
- msg (M_ERR, "Bad address family: %d\n", addr->sa_family);
+ msg (M_ERR, "Bad address family: %d\n", af);
ASSERT(0);
#endif
return 0;