diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/core/pcm_compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/pcm_compat.c b/sound/core/pcm_compat.c index 5fb2e28e796f..91cdf9435fec 100644 --- a/sound/core/pcm_compat.c +++ b/sound/core/pcm_compat.c | |||
@@ -342,7 +342,7 @@ static int snd_pcm_ioctl_xfern_compat(struct snd_pcm_substream *substream, | |||
342 | kfree(bufs); | 342 | kfree(bufs); |
343 | return -EFAULT; | 343 | return -EFAULT; |
344 | } | 344 | } |
345 | bufs[ch] = compat_ptr(ptr); | 345 | bufs[i] = compat_ptr(ptr); |
346 | bufptr++; | 346 | bufptr++; |
347 | } | 347 | } |
348 | if (dir == SNDRV_PCM_STREAM_PLAYBACK) | 348 | if (dir == SNDRV_PCM_STREAM_PLAYBACK) |