diff options
author | 2005-07-20 16:56:12 +0000 | |
---|---|---|
committer | 2005-07-20 16:56:12 +0000 | |
commit | 337c26f4cf78d2916ce76a16e03d9bbd1e5ef8f1 (patch) | |
tree | 34e1f4d1ba18fe48b73cb409f961e645aa578fa6 | |
parent | revert one TAILQ_FOREACH conversion from r1.112 which was (diff) | |
download | wireguard-openbsd-337c26f4cf78d2916ce76a16e03d9bbd1e5ef8f1.tar.xz wireguard-openbsd-337c26f4cf78d2916ce76a16e03d9bbd1e5ef8f1.zip |
Print the last two kern.nchstats entries.
-rw-r--r-- | sbin/sysctl/sysctl.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c index ed86c50f01f..4905fe7faa4 100644 --- a/sbin/sysctl/sysctl.c +++ b/sbin/sysctl/sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysctl.c,v 1.122 2005/05/24 04:20:26 markus Exp $ */ +/* $OpenBSD: sysctl.c,v 1.123 2005/07/20 16:56:12 miod Exp $ */ /* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */ /* @@ -40,7 +40,7 @@ static const char copyright[] = #if 0 static const char sccsid[] = "@(#)sysctl.c 8.5 (Berkeley) 5/9/95"; #else -static const char rcsid[] = "$OpenBSD: sysctl.c,v 1.122 2005/05/24 04:20:26 markus Exp $"; +static const char rcsid[] = "$OpenBSD: sysctl.c,v 1.123 2005/07/20 16:56:12 miod Exp $"; #endif #endif /* not lint */ @@ -1559,6 +1559,12 @@ sysctl_nchstats(char *string, char **bufpp, int mib[], int flags, int *typep) case KERN_NCHSTATS_2PASSES: (void)printf("%ld\n", nch.ncs_2passes); break; + case KERN_NCHSTATS_REVHITS: + (void)printf("%ld\n", nch.ncs_revhits); + break; + case KERN_NCHSTATS_REVMISS: + (void)printf("%ld\n", nch.ncs_revmiss); + break; } return (-1); } |