patch-1.3.4 linux/fs/ext/symlink.c
Next file: linux/fs/ext2/file.c
Previous file: linux/fs/ext/file.c
Back to the patch index
Back to the overall index
-  Lines: 9
 -  Date:
Mon Jun 26 11:06:52 1995
 -  Orig file: 
v1.3.3/linux/fs/ext/symlink.c
 -  Orig date: 
Mon May  2 18:34:26 1994
 
diff -u --recursive --new-file v1.3.3/linux/fs/ext/symlink.c linux/fs/ext/symlink.c
@@ -101,7 +101,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