patch-2.1.106 linux/fs/romfs/inode.c
Next file: linux/include/asm-alpha/bitops.h
Previous file: linux/fs/proc/array.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Wed Jun 10 11:17:29 1998
-  Orig file: 
v2.1.105/linux/fs/romfs/inode.c
-  Orig date: 
Mon Apr  6 17:41:01 1998
diff -u --recursive --new-file v2.1.105/linux/fs/romfs/inode.c linux/fs/romfs/inode.c
@@ -282,7 +282,7 @@
 	/* Not really failsafe, but we are read-only... */
 	for(;;) {
 		if (!offset || offset >= maxoff) {
-			offset = 0xffffffff;
+			offset = maxoff;
 			filp->f_pos = offset;
 			return stored;
 		}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov