diff options
author | hasso <hasso> | 2004-09-26 16:08:11 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-09-26 16:08:11 +0000 |
commit | e473b032b860444b9656cee1654b0120f77b52b1 (patch) | |
tree | 8885e2b15c70fb231e775dead3cc30bea18311ce /lib/sockopt.c | |
parent | c83dcd3f81ed21c72ad50e56a6c515c7eacac44c (diff) |
Compiler warnings fixes.
Diffstat (limited to 'lib/sockopt.c')
-rw-r--r-- | lib/sockopt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sockopt.c b/lib/sockopt.c index dc18a69a..1a7524b5 100644 --- a/lib/sockopt.c +++ b/lib/sockopt.c @@ -275,7 +275,7 @@ setsockopt_pktinfo (int af, int sock, int val) break; #endif default: - zlog_warn ("setsockopt_pktinfo: unknown address family %d"); + zlog_warn ("setsockopt_pktinfo: unknown address family %d", af); } return ret; } @@ -296,7 +296,7 @@ setsockopt_ifindex (int af, int sock, int val) break; #endif default: - zlog_warn ("setsockopt_ifindex: unknown address family %d"); + zlog_warn ("setsockopt_ifindex: unknown address family %d", af); } return ret; } @@ -356,7 +356,7 @@ getsockopt_ifindex (int af, struct msghdr *msgh) break; #endif default: - zlog_warn ("getsockopt_ifindex: unknown address family %d"); + zlog_warn ("getsockopt_ifindex: unknown address family %d", af); return (ifindex = 0); } } |