From owner-freebsd-bugs Fri Sep 17 19:30: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 4E0EC15256 for ; Fri, 17 Sep 1999 19:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA13653; Fri, 17 Sep 1999 19:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from thequest.net (tnt090.thequest.net [205.198.52.217]) by hub.freebsd.org (Postfix) with ESMTP id EA7AD14F1C for ; 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 X-Send-Pr-Version: 3.2 Subject: bin/13799: [patch] teach vidcontrol there are up to 16 consoles Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 17 19:30:00 PDT 1999 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message