svn commit: r225505 - head/sys/dev/sound/pcm

Andriy Gapon avg at FreeBSD.org
Mon Sep 12 08:38:22 UTC 2011


Author: avg
Date: Mon Sep 12 08:38:21 2011
New Revision: 225505
URL: http://svn.freebsd.org/changeset/base/225505

Log:
  dsp_ioctl: fix type of variable used to store ioctl request
  
  PR:		kern/156433
  Submitted by:	Grigori Goronzy <greg at chown.ath.cx>
  Reviewed by:	hselasky
  Approved by:	re (kib)
  MFC after:	1 week

Modified:
  head/sys/dev/sound/pcm/dsp.c

Modified: head/sys/dev/sound/pcm/dsp.c
==============================================================================
--- head/sys/dev/sound/pcm/dsp.c	Mon Sep 12 06:41:13 2011	(r225504)
+++ head/sys/dev/sound/pcm/dsp.c	Mon Sep 12 08:38:21 2011	(r225505)
@@ -1062,7 +1062,8 @@ dsp_ioctl(struct cdev *i_dev, u_long cmd
 {
     	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))


More information about the svn-src-all mailing list