]> Pileus Git - ~andy/linux/blobdiff - drivers/char/hvc_console.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
[~andy/linux] / drivers / char / hvc_console.c
index 4c3b59be286add18bcf32b500ff84d8a4f88c36a..465185fc0f524bb2eb15cc4d3cf251af264a48ae 100644 (file)
@@ -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) {