patch-2.1.4 linux/fs/smbfs/sock.c

Next file: linux/fs/stat.c
Previous file: linux/fs/smbfs/proc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.3/linux/fs/smbfs/sock.c linux/fs/smbfs/sock.c
@@ -266,7 +266,7 @@
 	}
 
         if (want_header != 0) {
-                memcpy_tofs(target, peek_buf, 4);
+                copy_to_user(target, peek_buf, 4);
                 target += 4;
         }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov