patch-2.0.14 linux/drivers/sound/midibuf.c

Next file: linux/drivers/sound/mpu401.c
Previous file: linux/drivers/sound/ics2101.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.13/linux/drivers/sound/midibuf.c linux/drivers/sound/midibuf.c
@@ -473,7 +473,7 @@
       {
 
       case SNDCTL_MIDI_PRETIME:
-	val = (int) get_fs_long ((long *) arg);
+	val = (int) get_user ((int *) arg);
 	if (val < 0)
 	  val = 0;
 

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