patch-2.3.99-pre6 linux/drivers/char/synclink.c
Next file: linux/drivers/char/tty_io.c
Previous file: linux/drivers/char/sx.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Fri Apr 21 15:17:57 2000
-  Orig file: 
v2.3.99-pre5/linux/drivers/char/synclink.c
-  Orig date: 
Wed Dec 29 13:13:15 1999
diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/char/synclink.c linux/drivers/char/synclink.c
@@ -3901,7 +3901,7 @@
 done:
 	if (off >= len+begin)
 		return 0;
-	*start = page + (begin-off);
+	*start = page + (off-begin);
 	return ((count < begin+len-off) ? count : begin+len-off);
 	
 }	/* end of mgsl_read_proc() */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)