patch-2.1.90 linux/drivers/char/tty_ioctl.c
Next file: linux/drivers/misc/parport_init.c
Previous file: linux/drivers/char/tty_io.c
Back to the patch index
Back to the overall index
-  Lines: 21
-  Date:
Wed Mar 11 17:37:13 1998
-  Orig file: 
v2.1.89/linux/drivers/char/tty_ioctl.c
-  Orig date: 
Mon Nov 24 08:45:44 1997
diff -u --recursive --new-file v2.1.89/linux/drivers/char/tty_ioctl.c linux/drivers/char/tty_ioctl.c
@@ -45,7 +45,9 @@
 	struct wait_queue wait = { current, NULL };
 
 #ifdef TTY_DEBUG_WAIT_UNTIL_SENT
-	printk("%s wait until sent...\n", tty_name(tty));
+	char buf[64];
+	
+	printk("%s wait until sent...\n", tty_name(tty, buf));
 #endif
 	if (!tty->driver.chars_in_buffer)
 		return;
@@ -57,7 +59,8 @@
 		current->timeout = (unsigned) -1;
 	do {
 #ifdef TTY_DEBUG_WAIT_UNTIL_SENT
-		printk("waiting %s...(%d)\n", tty_name(tty), tty->driver.chars_in_buffer(tty));
+		printk("waiting %s...(%d)\n", tty_name(tty, buf),
+		       tty->driver.chars_in_buffer(tty));
 #endif
 		current->state = TASK_INTERRUPTIBLE;
 		if (signal_pending(current))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov