patch-2.4.13 linux/drivers/s390/char/tubtty.c

Next file: linux/drivers/s390/net/ctcmain.c
Previous file: linux/drivers/s390/char/tuball.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.12/linux/drivers/s390/char/tubtty.c linux/drivers/s390/char/tubtty.c
@@ -992,8 +992,8 @@
 
 	if (tty)
 		len += sprintf(buf+len,
-				"    write_wait=%.8x read_wait=%.8x\n",
-				(int)&tty->write_wait, (int)&tty->read_wait);
+				"    write_wait=%p read_wait=%p\n",
+				&tty->write_wait, &tty->read_wait);
 
 	if (tty && ((mp = tty->termios)))
 		len += sprintf(buf+len,"    iflag=%.8x oflag=%.8x "

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)