aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/netstat/ipsec.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/netstat/ipsec.c')
-rw-r--r--usr.bin/netstat/ipsec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/ipsec.c b/usr.bin/netstat/ipsec.c
index 0826da639309..e0316aaf2509 100644
--- a/usr.bin/netstat/ipsec.c
+++ b/usr.bin/netstat/ipsec.c
@@ -235,7 +235,7 @@ print_ipsecstats(void)
}
void
-ipsec_stats(u_long off __unused, char *name, int af __unused)
+ipsec_stats(u_long off __unused, const char *name, int af1 __unused)
{
if (off == 0)
return;
@@ -259,7 +259,7 @@ pfkey_msgtype_names(int x)
}
void
-pfkey_stats(u_long off __unused, char *name, int af __unused)
+pfkey_stats(u_long off __unused, const char *name, int af1 __unused)
{
struct pfkeystat pfkeystat;
unsigned first, type;