dsp_ioctl: fix type of variable used to store ioctl request

PR:		kern/156433
Submitted by:	Grigori Goronzy <greg@chown.ath.cx>
Reviewed by:	hselasky
Approved by:	re (kib)
MFC after:	1 week
This commit is contained in:
Andriy Gapon 2011-09-12 08:38:21 +00:00
parent e4505da615
commit 7a2aafc355

View File

@ -1062,7 +1062,8 @@ dsp_ioctl(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode,
{
struct pcm_channel *chn, *rdch, *wrch;
struct snddev_info *d;
int *arg_i, ret, tmp, xcmd;
u_long xcmd;
int *arg_i, ret, tmp;
d = dsp_get_info(i_dev);
if (!DSP_REGISTERED(d, i_dev))