From 68162fef229a29590b88772eb24894a3e5e424d3 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sun, 13 May 2007 11:42:37 -0300 Subject: backport changes on sound drivers From: Mauro Carvalho Chehab 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 --- linux/sound/oss/btaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/sound/oss') 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; -- cgit v1.2.3