git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: Convert strlcpy to strscpy when return value is unused
[sfrench/cifs-2.6.git]
/
sound
/
drivers
/
opl3
/
opl3_synth.c
diff --git
a/sound/drivers/opl3/opl3_synth.c
b/sound/drivers/opl3/opl3_synth.c
index 08c10ac9d6c87a75374ac97e787ded3be15c4617..97d30a833ac81eea6ad3b1b236302c2a754a8dd0 100644
(file)
--- a/
sound/drivers/opl3/opl3_synth.c
+++ b/
sound/drivers/opl3/opl3_synth.c
@@
-290,7
+290,7
@@
int snd_opl3_load_patch(struct snd_opl3 *opl3,
}
if (name)
- str
l
cpy(patch->name, name, sizeof(patch->name));
+ str
s
cpy(patch->name, name, sizeof(patch->name));
return 0;
}