net: ethernet: neterion: vxge: vxge-main.c: Cleaning up missing null-terminate in...
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sun, 14 Sep 2014 17:34:47 +0000 (19:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Sep 2014 18:17:00 +0000 (14:17 -0400)
commit13bb5180e82349d9fcfa11cd17b3c1e7b558a902
tree757b5ea1622e1153fee770530b81294c1c6989cc
parent949bdd208325a5a947135ed4f8e6df0aa18aae89
net: ethernet: neterion: vxge: vxge-main.c: Cleaning up missing null-terminate in conjunction with strncpy

Replacing strncpy with strlcpy to avoid strings that lacks null terminate.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/neterion/vxge/vxge-main.c