mirror of
https://github.com/opnsense/src.git
synced 2026-04-02 16:05:17 -04:00
Fix a comparison that broke ``set console=vidconsole'' and even the
loader.conf line ``console="vidconsole"''. Sponsored by: ActiveState/Sophos MFC after: 1 week
This commit is contained in:
parent
07998bfffc
commit
1b3b403e9b
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ cons_change(const char *string)
|
|||
if (*curpos == '\0')
|
||||
continue;
|
||||
cons = cons_find(curpos);
|
||||
if (cons > 0) {
|
||||
if (cons >= 0) {
|
||||
consoles[cons]->c_flags |= C_ACTIVEIN | C_ACTIVEOUT;
|
||||
consoles[cons]->c_init(0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue