summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-05 02:15:26 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-05 02:15:26 +0000
commit60c17b8232c5e3e8e832bb194af31710f357b771 (patch)
treeb3ad91a4d2ca979d0d9953f75bf486bcb09b8558
parentd63b72227301012ca8eec865c203ed97c37184cb (diff)
One more compiler warning that was hiding a real bug ...
-rw-r--r--drivers/video/newport_con.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/newport_con.c b/drivers/video/newport_con.c
index f1c67a43d..7c3adffa2 100644
--- a/drivers/video/newport_con.c
+++ b/drivers/video/newport_con.c
@@ -1,5 +1,4 @@
-/* $Id: newport_con.c,v 1.14 1999/06/24 01:10:24 ulfc Exp $
- *
+/*
* newport_con.c: Abscon for newport hardware
*
* (C) 1998 Thomas Bogendoerfer (tsbogend@alpha.franken.de)
@@ -504,7 +503,7 @@ static int newport_scroll(struct vc_data *vc, int t, int b, int dir, int lines)
x = 0; y = b-lines;
for (count = 0; count < (lines * vc->vc_cols); count++) {
if (scr_readw(d) != vc->vc_video_erase_char) {
- newport_putc (vc, chattr, y, x);
+ newport_putc (vc, vc->vc_video_erase_char, y, x);
scr_writew (vc->vc_video_erase_char, d);
}
d++;