Subject: kern/3262: sysctl mixes ddb.lines and ddb.tabstops
To: None <gnats-bugs@gnats.netbsd.org>
From: Andrew Wheadon <andrew@wipux2.wifo.uni-mannheim.de>
List: netbsd-bugs
Date: 02/26/1997 16:03:15
>Number:         3262
>Category:       kern
>Synopsis:       sysctl.h has some ddb stuff in wrong order
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 26 07:20:01 1997
>Last-Modified:
>Originator:     
>Organization:
The cost of living hasn't affected its popularity. (Mark Twain)
current	release=doc host=netbsd.wifo.uni-mannheim.de \ "NetBSD-current mirror"
hostbase=/mit/ftp/pub/NetBSD base=/usr prefix=/usr backup delete use-rel-suffix
>Release:        26.02.97
>Environment:
	
System: NetBSD wipux2.wifo.uni-mannheim.de 1.2C NetBSD 1.2C (WIPOOL) #1: Tue Feb 25 14:24:56 MET 1997 toor@wipux2.wifo.uni-mannheim.de:/src/src/sys/arch/i386/compile/WIPOOL i386


>Description:
	sysctl ddb.lines and ddb.tabstops are swapped.
ddb.radix = 16
ddb.maxoff = 268435456
ddb.maxwidth = 80
ddb.tabstops = 24
ddb.lines = 8
ddb.onpanic = 0
	
>How-To-Repeat:
	sysctl -a|grep ddb
	
>Fix:
--- sys/sysctl.h.old	Wed Feb 26 15:55:08 1997
+++ sys/sysctl.h	Wed Feb 26 15:57:13 1997
@@ -310,8 +310,8 @@
 	{ "radix", CTLTYPE_INT }, \
 	{ "maxoff", CTLTYPE_INT }, \
 	{ "maxwidth", CTLTYPE_INT }, \
-	{ "tabstops", CTLTYPE_INT }, \
 	{ "lines", CTLTYPE_INT }, \
+	{ "tabstops", CTLTYPE_INT }, \
 	{ "onpanic", CTLTYPE_INT }, \
 }
 
	
>Audit-Trail:
>Unformatted: