[PATCH] s2io: change strncpy length arg to use size of target
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 28 Sep 2005 21:50:51 +0000 (17:50 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 4 Oct 2005 11:49:12 +0000 (07:49 -0400)
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>

No differences found