patch-1.3.60 linux/fs/ncpfs/ncplib_kernel.c
Next file: linux/fs/nfs/inode.c
Previous file: linux/fs/namei.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Feb 7 08:55:39 1996
- Orig file:
v1.3.59/linux/fs/ncpfs/ncplib_kernel.c
- Orig date:
Tue Jan 2 16:46:28 1996
diff -u --recursive --new-file v1.3.59/linux/fs/ncpfs/ncplib_kernel.c linux/fs/ncpfs/ncplib_kernel.c
@@ -577,7 +577,7 @@
*bytes_read = ntohs(ncp_reply_word(server, 0));
- memcpy_tofs(target, ncp_reply_data(server, 2), *bytes_read);
+ memcpy_tofs(target, ncp_reply_data(server, 2+(offset&1)), *bytes_read);
ncp_unlock_server(server);
return 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this