patch-1.3.4 linux/fs/sysv/symlink.c

Next file: linux/fs/umsdos/dir.c
Previous file: linux/fs/sysv/file.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.3/linux/fs/sysv/symlink.c linux/fs/sysv/symlink.c
@@ -107,7 +107,7 @@
 	i = 0;
 	while (i<buflen && (c = bh_data[i])) {
 		i++;
-		put_fs_byte(c,buffer++);
+		put_user(c,buffer++);
 	}
 	brelse(bh);
 	return i;

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