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

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

diff -u --recursive --new-file v1.3.3/linux/fs/sysv/file.c linux/fs/sysv/file.c
@@ -176,7 +176,7 @@
 				buf += chars;
 			} else {
 				while (chars-- > 0)
-					put_fs_byte(0,buf++);
+					put_user(0,buf++);
 			}
 			offset = 0;
 			if (++bhe == &buflist[NBUF])

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