X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=drivers%2Fchar%2Fhvc_console.c;h=465185fc0f524bb2eb15cc4d3cf251af264a48ae;hb=7de4a9a73563e5f6f3c153015fadee433a443241;hp=4c3b59be286add18bcf32b500ff84d8a4f88c36a;hpb=3ff1562ea48cddaa5ac1adcb8892227389a4c96c;p=~andy%2Flinux diff --git a/drivers/char/hvc_console.c b/drivers/char/hvc_console.c index 4c3b59be286..465185fc0f5 100644 --- a/drivers/char/hvc_console.c +++ b/drivers/char/hvc_console.c @@ -146,7 +146,7 @@ static void hvc_console_print(struct console *co, const char *b, return; /* This console adapter was removed so it is not usable. */ - if (vtermnos[index] < 0) + if (vtermnos[index] == -1) return; while (count > 0 || i > 0) {