net: ethernet: freescale: fec_main.c: Cleaning up missing null-terminate in conjuncti...
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sun, 14 Sep 2014 17:32:42 +0000 (19:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Sep 2014 18:17:00 +0000 (14:17 -0400)
commit949bdd208325a5a947135ed4f8e6df0aa18aae89
treef355e7066573668b2d0f893f6c8718e65b00d40e
parent17b6f244483a6799e43f9af649a2eb94fa1502ec
net: ethernet: freescale: fec_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/freescale/fec_main.c