summaryrefslogtreecommitdiff
path: root/sbin/sysctl/sysctl.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-03-30 04:53:16 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-03-30 04:53:16 +0000
commite4d967555f651ee88274122f8c06dac3bf28ee1c (patch)
tree898ab4fd5f396b2da676627926edaf2da712df9f /sbin/sysctl/sysctl.c
parent68ccbd6e7495f854f379e4a83564c176749b9a37 (diff)
DDB support added.
Diffstat (limited to 'sbin/sysctl/sysctl.c')
-rw-r--r--sbin/sysctl/sysctl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c
index 4f0f8ffaafa..a5de0bd9ef8 100644
--- a/sbin/sysctl/sysctl.c
+++ b/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 <netinet/tcp.h>
#include <netinet/tcp_timer.h>
#include <netinet/tcp_var.h>
+#include <ddb/db_var.h>
#include <errno.h>
#include <stdio.h>
@@ -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: