diff options
-rw-r--r-- | sound/oss/btaudio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/btaudio.c b/sound/oss/btaudio.c index f813ae9c2134..4d5cf05b8922 100644 --- a/sound/oss/btaudio.c +++ b/sound/oss/btaudio.c | |||
@@ -344,7 +344,7 @@ static int btaudio_mixer_ioctl(struct inode *inode, struct file *file, | |||
344 | if (cmd == SOUND_OLD_MIXER_INFO) { | 344 | if (cmd == SOUND_OLD_MIXER_INFO) { |
345 | _old_mixer_info info; | 345 | _old_mixer_info info; |
346 | memset(&info,0,sizeof(info)); | 346 | memset(&info,0,sizeof(info)); |
347 | strlcpy(info.id,"bt878",sizeof(info.id)-1); | 347 | strlcpy(info.id, "bt878", sizeof(info.id)); |
348 | strlcpy(info.name,"Brooktree Bt878 audio",sizeof(info.name)); | 348 | strlcpy(info.name,"Brooktree Bt878 audio",sizeof(info.name)); |
349 | if (copy_to_user(argp, &info, sizeof(info))) | 349 | if (copy_to_user(argp, &info, sizeof(info))) |
350 | return -EFAULT; | 350 | return -EFAULT; |