patch-2.2.16 linux/net/irda/ircomm/ircomm_tty.c
Next file: linux/net/irda/irlan/irlan_client.c
Previous file: linux/net/irda/af_irda.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Jun 7 14:26:44 2000
- Orig file:
v2.2.15/linux/net/irda/ircomm/ircomm_tty.c
- Orig date:
Wed May 3 17:16:54 2000
diff -urN v2.2.15/linux/net/irda/ircomm/ircomm_tty.c linux/net/irda/ircomm/ircomm_tty.c
@@ -1347,7 +1347,7 @@
done:
if (offset >= count+begin)
return 0;
- *start = buf + (begin-offset);
+ *start = buf + (offset-begin);
return ((len < begin+count-offset) ? len : begin+count-offset);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)