patch-2.2.16 linux/drivers/char/nvram.c
Next file: linux/drivers/char/pc_keyb.c
Previous file: linux/drivers/char/n_tty.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Jun 7 14:26:42 2000
- Orig file:
v2.2.15/linux/drivers/char/nvram.c
- Orig date:
Wed Aug 25 17:29:47 1999
diff -urN v2.2.15/linux/drivers/char/nvram.c linux/drivers/char/nvram.c
@@ -373,7 +373,7 @@
if (offset >= begin + len)
return( 0 );
- *start = buffer + (begin - offset);
+ *start = buffer + (offset - begin);
return( size < begin + len - offset ? size : begin + len - offset );
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)