From e4d967555f651ee88274122f8c06dac3bf28ee1c Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Sat, 30 Mar 1996 04:53:16 +0000 Subject: DDB support added. --- usr.sbin/sysctl/sysctl.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'usr.sbin/sysctl/sysctl.c') diff --git a/usr.sbin/sysctl/sysctl.c b/usr.sbin/sysctl/sysctl.c index 4f0f8ffaafa..a5de0bd9ef8 100644 --- a/usr.sbin/sysctl/sysctl.c +++ b/usr.sbin/sysctl/sysctl.c @@ -66,6 +66,7 @@ static char *rcsid = "$NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $" #include #include #include +#include #include #include @@ -82,6 +83,7 @@ struct ctlname debugname[CTL_DEBUG_MAXID]; #ifdef CTL_MACHDEP_NAMES struct ctlname machdepname[] = CTL_MACHDEP_NAMES; #endif +struct ctlname ddbname[] = CTL_DDB_NAMES; char names[BUFSIZ]; struct list { @@ -103,6 +105,7 @@ struct list secondlevel[] = { { 0, 0 }, /* CTL_MACHDEP */ #endif { username, USER_MAXID }, /* CTL_USER_NAMES */ + { ddbname, DBCTL_MAXID }, /* CTL_DDB_NAMES */ }; int Aflag, aflag, nflag, wflag; @@ -326,6 +329,7 @@ parse(string, flags) case CTL_FS: case CTL_USER: + case CTL_DDB: break; default: -- cgit v1.2.3