Update of /cvsroot/linuxconsole/ruby/linux/drivers/char
In directory usw-pr-cvs1:/tmp/cvs-serv24790
Modified Files:
vt.c
Log Message:
A possible oops fixed in do_write_con.
Index: vt.c
===================================================================
RCS file: /cvsroot/linuxconsole/ruby/linux/drivers/char/vt.c,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -d -r1.119 -r1.120
--- vt.c 20 Feb 2002 17:49:34 -0000 1.119
+++ vt.c 20 Feb 2002 19:03:44 -0000 1.120
@@ -1016,7 +1016,7 @@
static int error;
if (!error) {
error = 1;
- printk("con_write: tty %d not allocated\n", cons_num);
+ printk("con_write: tty %d not allocated\n", minor(tty->device));
}
return 0;
}
|