From 30dba378e9ab72e2f18039afa73b5517a1b7f4e5 Mon Sep 17 00:00:00 2001 From: yokota Date: Sun, 19 Sep 1999 08:04:07 +0000 Subject: Fix -s option. PR: bin/13799 --- usr.sbin/vidcontrol/vidcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/vidcontrol') diff --git a/usr.sbin/vidcontrol/vidcontrol.c b/usr.sbin/vidcontrol/vidcontrol.c index 0f8b808..efa6c2d 100644 --- a/usr.sbin/vidcontrol/vidcontrol.c +++ b/usr.sbin/vidcontrol/vidcontrol.c @@ -386,7 +386,7 @@ set_console(char *arg) } 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)"); -- cgit v1.1