diff options
Diffstat (limited to 'usr.bin/netstat/pfkey.c')
-rw-r--r-- | usr.bin/netstat/pfkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/netstat/pfkey.c b/usr.bin/netstat/pfkey.c index 0d48e5d..da81485 100644 --- a/usr.bin/netstat/pfkey.c +++ b/usr.bin/netstat/pfkey.c @@ -119,7 +119,7 @@ pfkey_stats(u_long off, const char *name, int family __unused, if (off == 0) return; printf ("%s:\n", name); - kread(off, (char *)&pfkeystat, sizeof(pfkeystat)); + kread_counters(off, (char *)&pfkeystat, sizeof(pfkeystat)); #define p(f, m) if (pfkeystat.f || sflag <= 1) \ printf(m, (uintmax_t)pfkeystat.f, plural(pfkeystat.f)) |