Commit 4f758d8f authored by Andrew Morton's avatar Andrew Morton Committed by Greg Kroah-Hartman

[PATCH] Column counting fix in n_tty.c

From: Chris Heath <chris@heathens.co.nz>

Here's a column counting bug that was lurking in a corner of n_tty.c.
parent 1a5cf580
...@@ -325,7 +325,7 @@ static inline void finish_erasing(struct tty_struct *tty) ...@@ -325,7 +325,7 @@ static inline void finish_erasing(struct tty_struct *tty)
{ {
if (tty->erasing) { if (tty->erasing) {
put_char('/', tty); put_char('/', tty);
tty->column += 2; tty->column++;
tty->erasing = 0; tty->erasing = 0;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment