patch-2.2.16 linux/drivers/isdn/avmb1/capi.c

Next file: linux/drivers/isdn/avmb1/kcapi.c
Previous file: linux/drivers/i2o/i2o_scsi.c
Back to the patch index
Back to the overall index

diff -urN v2.2.15/linux/drivers/isdn/avmb1/capi.c linux/drivers/isdn/avmb1/capi.c
@@ -564,7 +564,7 @@
 		*eof = 1;
 	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)