summaryrefslogtreecommitdiffstats
path: root/drivers/char/console.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-03-17 22:05:47 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-03-17 22:05:47 +0000
commit27cfca1ec98e91261b1a5355d10a8996464b63af (patch)
tree8e895a53e372fa682b4c0a585b9377d67ed70d0e /drivers/char/console.c
parent6a76fb7214c477ccf6582bd79c5b4ccc4f9c41b1 (diff)
Look Ma' what I found on my harddisk ...
o New faster syscalls for 2.1.x, too o Upgrade to 2.1.89. Don't try to run this. It's flaky as hell. But feel free to debug ...
Diffstat (limited to 'drivers/char/console.c')
-rw-r--r--drivers/char/console.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/char/console.c b/drivers/char/console.c
index 02ce3a64e..26c1ceda8 100644
--- a/drivers/char/console.c
+++ b/drivers/char/console.c
@@ -1451,6 +1451,12 @@ static int do_con_write(struct tty_struct * tty, int from_user,
/* If we got -4 (not found) then see if we have
defined a replacement character (U+FFFD) */
tc = conv_uni_to_pc(0xfffd);
+
+ /* One reason for the -4 can be that we just
+ did a clear_unimap();
+ try at least to show something. */
+ if (tc == -4)
+ tc = c;
} else if ( tc == -3 ) {
/* Bad hash table -- hope for the best */
tc = c;