patch-2.1.4 linux/drivers/sound/maui.c
Next file: linux/drivers/sound/midi_synth.c
Previous file: linux/drivers/sound/gus_wave.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sun Oct 13 21:11:15 1996
-  Orig file: 
v2.1.3/linux/drivers/sound/maui.c
-  Orig date: 
Sat Jul  6 11:31:42 1996
diff -u --recursive --new-file v2.1.3/linux/drivers/sound/maui.c linux/drivers/sound/maui.c
@@ -315,7 +315,7 @@
    * been transferred already.
    */
 
-  memcpy_fromfs (&((char *) &header)[offs], &(addr)[offs], hdr_size - offs);
+  copy_from_user (&((char *) &header)[offs], &(addr)[offs], hdr_size - offs);
 
   if (count < header.len)
     {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov