Fix LINT kernel build.
authorAlexander Polakov <polachok@gmail.com>
Sat, 17 Apr 2010 16:31:49 +0000 (20:31 +0400)
committerAlexander Polakov <polachok@gmail.com>
Sat, 17 Apr 2010 16:31:49 +0000 (20:31 +0400)
sys/dev/sound/pcm/mixer.c

index 8047e3e..bc462fe 100644 (file)
@@ -684,7 +684,7 @@ mixer_ioctl(struct dev_ioctl_args *ap)
        }
 
        if (cmd == OSS_GETVERSION) {
-               arg = SOUND_VERSION;
+               *arg_i = SOUND_VERSION;
                snd_mtxunlock(m->lock);
                return 0;
        }