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

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

diff -u --recursive --new-file v1.3.3/linux/fs/minix/symlink.c linux/fs/minix/symlink.c
@@ -99,7 +99,7 @@
 	i = 0;
 	while (i<buflen && (c = bh->b_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