Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dbc2309d authored by John W. Linville's avatar John W. Linville Committed by Jeff Garzik
Browse files

[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: default avatarJohn W. Linville <linville@tuxdriver.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent 53232803
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment