summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2019-12-24 13:13:54 +0000
committerbluhm <bluhm@openbsd.org>2019-12-24 13:13:54 +0000
commit373383b32e6ab5fb5af9d0bf1db142121cfd99c8 (patch)
treef1f1a816ea50b3dcdfb879f90c1b8e2619b37616
parentMerge two missed fixes from login.c to login_passwd.c. (diff)
downloadwireguard-openbsd-373383b32e6ab5fb5af9d0bf1db142121cfd99c8.tar.xz
wireguard-openbsd-373383b32e6ab5fb5af9d0bf1db142121cfd99c8.zip
Fill in names for consbufsize and consbuf sysctl for nicer kdump(1)
output.
-rw-r--r--sys/sys/sysctl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h
index 6ba65949567..d472e05d1d9 100644
--- a/sys/sys/sysctl.h
+++ b/sys/sys/sysctl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysctl.h,v 1.198 2019/12/11 07:30:09 guenther Exp $ */
+/* $OpenBSD: sysctl.h,v 1.199 2019/12/24 13:13:54 bluhm Exp $ */
/* $NetBSD: sysctl.h,v 1.16 1996/04/09 20:55:36 cgd Exp $ */
/*
@@ -274,8 +274,8 @@ struct ctlname {
{ "proc_nobroadcastkill", CTLTYPE_NODE }, \
{ "proc_vmmap", CTLTYPE_NODE }, \
{ "global_ptrace", CTLTYPE_INT }, \
- { "gap", 0 }, \
- { "gap", 0 }, \
+ { "consbufsize", CTLTYPE_INT }, \
+ { "consbuf", CTLTYPE_STRUCT }, \
{ "audio", CTLTYPE_STRUCT }, \
{ "cpustats", CTLTYPE_STRUCT }, \
{ "pfstatus", CTLTYPE_STRUCT }, \