summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/pfkey.c
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2006-11-27 19:50:50 +0000
committeryar <yar@FreeBSD.org>2006-11-27 19:50:50 +0000
commit97045cf6d0d5b678401de5177dd72825261fe07d (patch)
tree8e110c68de405a4d9a8e90b61a1baa610310290f /usr.bin/netstat/pfkey.c
parentac0fbebe4ae682809c5875a529e92667006f0faa (diff)
downloadFreeBSD-src-97045cf6d0d5b678401de5177dd72825261fe07d.zip
FreeBSD-src-97045cf6d0d5b678401de5177dd72825261fe07d.tar.gz
Don't shadow globals.
Found by: WARNS=6 MFC after: 3 days
Diffstat (limited to 'usr.bin/netstat/pfkey.c')
-rw-r--r--usr.bin/netstat/pfkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/netstat/pfkey.c b/usr.bin/netstat/pfkey.c
index 377ff17..ed2c00c 100644
--- a/usr.bin/netstat/pfkey.c
+++ b/usr.bin/netstat/pfkey.c
@@ -120,7 +120,7 @@ pfkey_msgtype_names(int x)
}
void
-pfkey_stats(u_long off, const char *name, int af __unused)
+pfkey_stats(u_long off, const char *name, int family __unused)
{
struct pfkeystat pfkeystat;
unsigned first, type;
OpenPOWER on IntegriCloud