[PATCH][Trivial] Columns in n_tty.c

Chris Heath (chris@heathens.co.nz)
Sun, 22 Jun 2003 13:55:17 -0400


Here's a column counting bug that was lurking in a corner of n_tty.c.

The patch is against 2.5.72, but it applies to 2.4.21 too (with an
offset).

Chris

--- a/drivers/char/n_tty.c 2003-06-19 21:51:27.000000000 -0400
+++ b/drivers/char/n_tty.c 2003-06-22 12:30:32.000000000 -0400
@@ -325,7 +325,7 @@
{
if (tty->erasing) {
put_char('/', tty);
- tty->column += 2;
+ tty->column++;
tty->erasing = 0;
}
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/