patch-2.1.90 linux/drivers/char/n_tty.c
Next file: linux/drivers/char/rtc.c
Previous file: linux/drivers/char/misc.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Wed Mar 11 17:37:13 1998
- Orig file:
v2.1.89/linux/drivers/char/n_tty.c
- Orig date:
Tue Mar 10 10:03:31 1998
diff -u --recursive --new-file v2.1.89/linux/drivers/char/n_tty.c linux/drivers/char/n_tty.c
@@ -420,7 +420,7 @@
tty->num_overrun++;
if (tty->overrun_time < (jiffies - HZ)) {
- printk("%s: %d input overrun(s)\n", _tty_name(tty, buf),
+ printk("%s: %d input overrun(s)\n", tty_name(tty, buf),
tty->num_overrun);
tty->overrun_time = jiffies;
tty->num_overrun = 0;
@@ -656,6 +656,7 @@
const unsigned char *p;
char *f, flags = TTY_NORMAL;
int i;
+ char buf[64];
if (!tty->read_buf)
return;
@@ -693,8 +694,8 @@
n_tty_receive_overrun(tty);
break;
default:
- printk("%s: unknown flag %d\n", tty_name(tty),
- flags);
+ printk("%s: unknown flag %d\n",
+ tty_name(tty, buf), flags);
break;
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov