mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 10:11:09 -04:00
The M_VESA_MODE_MAX is latest valid mode - not the first invalid.
Permit its use in vidcontrol -i PR: bin/119483 Submitted by: Dan Lukes <dan@obluda.cz> Arrival-Date: Wed Jan 09 10:30:01 UTC 2008 Reviewed by: ed MFC after: 3 days
This commit is contained in:
parent
2406f9e41b
commit
a8de143c02
1 changed files with 1 additions and 1 deletions
|
|
@ -959,7 +959,7 @@ show_mode_info(void)
|
|||
printf("---------------------------------------"
|
||||
"---------------------------------------\n");
|
||||
|
||||
for (mode = 0; mode < M_VESA_MODE_MAX; ++mode) {
|
||||
for (mode = 0; mode <= M_VESA_MODE_MAX; ++mode) {
|
||||
_info.vi_mode = mode;
|
||||
if (ioctl(0, CONS_MODEINFO, &_info))
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue