patch-2.2.16 linux/arch/mips/baget/vacserial.c

Next file: linux/arch/mips/config.in
Previous file: linux/arch/m68k/config.in
Back to the patch index
Back to the overall index

diff -urN v2.2.15/linux/arch/mips/baget/vacserial.c linux/arch/mips/baget/vacserial.c
@@ -2162,7 +2162,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);
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)