ethernet: Copy interfance names obeying lengths rules

gcc points out the destination buffer has the same size the specified
bound for the string:

  warning: ‘__builtin_stpncpy’ specified bound 16 equals destination size [-Wstringop-truncation]

Let's make sure we do not overflow the buffer (should not happen as
the names are provide by the kernel and hence should fit).
1 file changed