diff options
author | Brian Somers <brian@FreeBSD.org> | 2005-07-29 12:47:42 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2005-07-29 12:47:42 +0000 |
commit | 1b3b403e9bbbb3bcb0acff2d4a30ef3eca19dfeb (patch) | |
tree | 4f1b1e40e1e06aa68593564aeb50fc6d2e2f01dc | |
parent | 07998bfffc9e8bb857a4a50941f108dedf7b9ddb (diff) |
Notes
-rw-r--r-- | sys/boot/common/console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/common/console.c b/sys/boot/common/console.c index 196e715384a7e..d140a96b570bd 100644 --- a/sys/boot/common/console.c +++ b/sys/boot/common/console.c @@ -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); } |