aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/netstat/if.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c
index 7629dd4cf6fb..c08fbf008337 100644
--- a/usr.bin/netstat/if.c
+++ b/usr.bin/netstat/if.c
@@ -93,10 +93,10 @@ pfsync_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
if (live) {
if (zflag)
memset(&zerostat, 0, len);
- if (sysctlbyname("net.inet.pfsync.stats", &pfsyncstat, &len,
+ if (sysctlbyname("net.pfsync.stats", &pfsyncstat, &len,
zflag ? &zerostat : NULL, zflag ? len : 0) < 0) {
if (errno != ENOENT)
- warn("sysctl: net.inet.pfsync.stats");
+ warn("sysctl: net.pfsync.stats");
return;
}
} else