patch-2.0.14 linux/drivers/sound/ad1848.c
Next file: linux/drivers/sound/audio.c
Previous file: linux/drivers/scsi/aha152x.h
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Sun Aug 18 10:46:48 1996
- Orig file:
v2.0.13/linux/drivers/sound/ad1848.c
- Orig date:
Sat Jul 6 11:31:42 1996
diff -u --recursive --new-file v2.0.13/linux/drivers/sound/ad1848.c linux/drivers/sound/ad1848.c
@@ -477,11 +477,11 @@
switch (cmd & 0xff)
{
case SOUND_MIXER_RECSRC:
- return snd_ioctl_return ((int *) arg, ad1848_set_recmask (devc, get_fs_long ((long *) arg)));
+ return snd_ioctl_return ((int *) arg, ad1848_set_recmask (devc, get_user ((int *) arg)));
break;
default:
- return snd_ioctl_return ((int *) arg, ad1848_mixer_set (devc, cmd & 0xff, get_fs_long ((long *) arg)));
+ return snd_ioctl_return ((int *) arg, ad1848_mixer_set (devc, cmd & 0xff, get_user ((int *) arg)));
}
else
switch (cmd & 0xff) /*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov