Date: Sat, 18 Sep 1999 02:26:26 +0000 (GMT) From: znh@thequest.net To: FreeBSD-gnats-submit@freebsd.org Subject: bin/13799: [patch] teach vidcontrol there are up to 16 consoles Message-ID: <19990918022626.0EF631FF8@thequest.net>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990918022626.0EF631FF8>