From df4e67571e917992490c8c4acdbc20d1e429493b Mon Sep 17 00:00:00 2001 From: "Angelos D. Keromytis" Date: Sun, 9 Jun 2002 04:27:26 +0000 Subject: KERN_MBSTAT --- sys/kern/kern_sysctl.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c index 092e8c88b65..8a52dbc9ebf 100644 --- a/sys/kern/kern_sysctl.c +++ b/sys/kern/kern_sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_sysctl.c,v 1.68 2002/06/08 23:35:35 angelos Exp $ */ +/* $OpenBSD: kern_sysctl.c,v 1.69 2002/06/09 04:27:25 angelos Exp $ */ /* $NetBSD: kern_sysctl.c,v 1.17 1996/05/20 17:49:05 mrg Exp $ */ /*- @@ -64,6 +64,7 @@ #include #include #include +#include #include #include @@ -329,6 +330,9 @@ kern_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p) p)); case KERN_FILE: return (sysctl_file(oldp, oldlenp)); + case KERN_MBSTAT: + return (sysctl_rdstruct(oldp, oldlenp, newp, &mbstat, + sizeof(mbstat))); #ifdef GPROF case KERN_PROF: return (sysctl_doprof(name + 1, namelen - 1, oldp, oldlenp, -- cgit v1.2.3