Skip to content
Commit b0b46c77 authored by hayeswang's avatar hayeswang Committed by David S. Miller
Browse files

r8152: replace strncpy with strlcpy



Replace the strncpy with strlcpy, and use sizeof to determine the
length.

Signed-off-by: default avatarHayes Wang <hayeswang@realtek.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5c21403d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment