diff options
author | hayeswang <hayeswang@realtek.com> | 2014-08-26 10:08:23 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-27 16:18:06 -0700 |
commit | b0b46c7766e6803df7f76cddbbc0172092b5fa7c (patch) | |
tree | b094cc643a31a3d99ca90d8daf58aa4abd9aaf25 /init | |
parent | 5c21403d74af2c9cd635a34c2f9199681a5b813e (diff) | |
download | linux-b0b46c7766e6803df7f76cddbbc0172092b5fa7c.tar.bz2 |
r8152: replace strncpy with strlcpy
Replace the strncpy with strlcpy, and use sizeof to determine the
length.
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions