From znh@thequest.net Fri Sep 17 19:27:52 1999
Return-Path: <znh@thequest.net>
Received: from thequest.net (tnt090.thequest.net [205.198.52.217])
	by hub.freebsd.org (Postfix) with ESMTP id EA7AD14F1C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 17 Sep 1999 19:27:45 -0700 (PDT)
	(envelope-from znh@thequest.net)
Received: by thequest.net (Postfix, from userid 1005)
	id 0EF631FF8; Sat, 18 Sep 1999 02:26:26 +0000 (GMT)
Message-Id: <19990918022626.0EF631FF8@thequest.net>
Date: Sat, 18 Sep 1999 02:26:26 +0000 (GMT)
From: znh@thequest.net
Reply-To: znh@thequest.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] teach vidcontrol there are up to 16 consoles
X-Send-Pr-Version: 3.2

>Number:         13799
>Category:       bin
>Synopsis:       [patch] teach vidcontrol there are up to 16 consoles
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 17 19:30:00 PDT 1999
>Closed-Date:    Tue May 16 09:58:58 PDT 2000
>Last-Modified:  Tue May 16 09:59:24 PDT 2000
>Originator:     Zach N. Heilig
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

>Description:

>How-To-Repeat:

>Fix:

Index: vidcontrol.c
===================================================================
RCS file: /home/ncvs/src/usr.sbin/vidcontrol/vidcontrol.c,v
retrieving revision 1.29
diff -u -r1.29 vidcontrol.c
--- vidcontrol.c	1999/08/28 01:20:30	1.29
+++ vidcontrol.c	1999/09/18 02:22:15
@@ -386,7 +386,7 @@
 	}
 
 	n = atoi(arg);
-	if (n < 1 || n > 12) {
+	if (n < 1 || n > 16) {
 		warnx("console number out of range");
 	} else if (ioctl(0, VT_ACTIVATE, (caddr_t) (long) n) == -1)
 		warn("ioctl(VT_ACTIVATE)");

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: hoek 
State-Changed-When: Tue May 16 09:58:58 PDT 2000 
State-Changed-Why:  
PR not closed when fixed by: yokota 
>Unformatted:
