[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: NJohn W. Linville <linville@tuxdriver.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
Showing
想要评论请 注册 或 登录