aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazutaka YOKOTA <yokota@FreeBSD.org>1999-09-19 08:04:07 +0000
committerKazutaka YOKOTA <yokota@FreeBSD.org>1999-09-19 08:04:07 +0000
commita0d3b21c884e2012bfd7179689fd2f1da06093f0 (patch)
treeba27c0a61410e578e51f128ffa3b0984a81ec604
parent6837f60c8e05efd81d90c41087e9a04abadda7c2 (diff)
Notes
-rw-r--r--usr.sbin/vidcontrol/vidcontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/vidcontrol/vidcontrol.c b/usr.sbin/vidcontrol/vidcontrol.c
index 0f8b80863c82c..efa6c2d0f48da 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)");