patch-1.3.15 linux/drivers/char/pty.c

Next file: linux/drivers/char/scc.c
Previous file: linux/drivers/char/psaux.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.14/linux/drivers/char/pty.c linux/drivers/char/pty.c
@@ -110,7 +110,7 @@
 }
 
 static int pty_write(struct tty_struct * tty, int from_user,
-		       unsigned char *buf, int count)
+		       const unsigned char *buf, int count)
 {
 	struct tty_struct *to = tty->link;
 	int	c=0, n, r;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this