FreeBSD Bugzilla – Attachment 5941 Details for
Bug 13799
[patch] teach vidcontrol there are up to 16 consoles
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 506 bytes, created by
znh
on 1999-09-18 03:30:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
znh
Created:
1999-09-18 03:30:00 UTC
Size:
506 bytes
patch
obsolete
>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)");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 13799
: 5941