[PATCH][Trivial] Columns in n_tty.c

From: Chris Heath (chris@heathens.co.nz)
Date: Sun Jun 22 2003 - 12:55:17 EST


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/



This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:38 EST