aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-07-20 07:19:32 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-07-20 07:19:32 +0000
commitd7bf417de7b3f03b036bd18d003cadf19b87c77c (patch)
tree952da0fc3b676753a5b6713991c9975e8124aff9 /sys/kern
parent4fcd91ddf13b6f5d903bfe07cdcfae94a8c89a53 (diff)
downloadsrc-d7bf417de7b3f03b036bd18d003cadf19b87c77c.tar.gz
src-d7bf417de7b3f03b036bd18d003cadf19b87c77c.zip
add debug.sizeof.specinfo
Notes
Notes: svn path=/head/; revision=48927
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_mib.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/kern_mib.c b/sys/kern/kern_mib.c
index ec9c2c673221..f6ada0264a16 100644
--- a/sys/kern/kern_mib.c
+++ b/sys/kern/kern_mib.c
@@ -37,7 +37,7 @@
* SUCH DAMAGE.
*
* @(#)kern_sysctl.c 8.4 (Berkeley) 4/14/94
- * $Id: kern_mib.c,v 1.20 1999/05/03 23:57:21 billf Exp $
+ * $Id: kern_mib.c,v 1.21 1999/07/19 09:13:12 phk Exp $
*/
#include <sys/param.h>
@@ -245,3 +245,7 @@ SYSCTL_INT(_debug_sizeof, OID_AUTO, vnode, CTLFLAG_RD,
SYSCTL_INT(_debug_sizeof, OID_AUTO, proc, CTLFLAG_RD,
0, sizeof(struct proc), "sizeof(struct proc)");
+
+#include <miscfs/specfs/specdev.h>
+SYSCTL_INT(_debug_sizeof, OID_AUTO, specinfo, CTLFLAG_RD,
+ 0, sizeof(struct specinfo), "sizeof(struct specinfo)");