diff options
author | 1997-12-29 14:31:16 +0000 | |
---|---|---|
committer | 1997-12-29 14:31:16 +0000 | |
commit | a4904a1fcb2cb071e4906bb365993bd64b3d61ca (patch) | |
tree | ee396a1d51bd79b38a4a1d228485bd4fd6b84568 /sys/ddb/db_usrreq.c | |
parent | Do not lose the first char in msgbuf (diff) | |
download | wireguard-openbsd-a4904a1fcb2cb071e4906bb365993bd64b3d61ca.tar.xz wireguard-openbsd-a4904a1fcb2cb071e4906bb365993bd64b3d61ca.zip |
sysctl ddb.panic_ddb; felix@mamba.pond.sub.org
Diffstat (limited to 'sys/ddb/db_usrreq.c')
-rw-r--r-- | sys/ddb/db_usrreq.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/ddb/db_usrreq.c b/sys/ddb/db_usrreq.c index fdc7f41ef0d..a303f9243ad 100644 --- a/sys/ddb/db_usrreq.c +++ b/sys/ddb/db_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_usrreq.c,v 1.1 1996/03/30 04:51:31 mickey Exp $ */ +/* $OpenBSD: db_usrreq.c,v 1.2 1997/12/29 14:31:19 deraadt Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff. All rights reserved. @@ -62,6 +62,8 @@ ddb_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p) return sysctl_int(oldp, oldlenp, newp, newlen, &db_tab_stop_width); case DBCTL_MAXLINE: return sysctl_int(oldp, oldlenp, newp, newlen, &db_max_line); + case DBCTL_PANICDDB: + return sysctl_int(oldp, oldlenp, newp, newlen, &db_panic_ddb); default: return (EOPNOTSUPP); } |