summaryrefslogtreecommitdiff
path: root/linux/sound/oss
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-05-13 11:42:37 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-05-13 11:42:37 -0300
commit68162fef229a29590b88772eb24894a3e5e424d3 (patch)
tree8f90979247e29a7a12fb46da5666f30332172040 /linux/sound/oss
parentad47445b687bfd00ddcbc0aa466a95be2bbc6016 (diff)
downloadmediapointer-dvb-s2-68162fef229a29590b88772eb24894a3e5e424d3.tar.gz
mediapointer-dvb-s2-68162fef229a29590b88772eb24894a3e5e424d3.tar.bz2
backport changes on sound drivers
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Those drivers are maintained by alsa team. The copy here is just to allow testing newer stuff on sound drivers for multimedia boards. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/sound/oss')
-rw-r--r--linux/sound/oss/btaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/sound/oss/btaudio.c b/linux/sound/oss/btaudio.c
index 0285a7082..859392e4b 100644
--- a/linux/sound/oss/btaudio.c
+++ b/linux/sound/oss/btaudio.c
@@ -353,7 +353,7 @@ static int btaudio_mixer_ioctl(struct inode *inode, struct file *file,
if (cmd == SOUND_OLD_MIXER_INFO) {
_old_mixer_info info;
memset(&info,0,sizeof(info));
- strlcpy(info.id,"bt878",sizeof(info.id)-1);
+ strlcpy(info.id,"bt878",sizeof(info.id));
strlcpy(info.name,"Brooktree Bt878 audio",sizeof(info.name));
if (copy_to_user(argp, &info, sizeof(info)))
return -EFAULT;