mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-16 18:15:52 +00:00
[PATCH] s2io: change strncpy length arg to use size of target
Use the size of the target array for the length argument to strncpy instead of the size of the source or a magic number. Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
This commit is contained in:
parent
5323280324
commit
dbc2309d90
1 changed files with 4 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue