summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-07 17:02:50 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-23 08:44:21 +0100
commiteeb234f7f9079648f43e400bd0bfe84a8241a805 (patch)
treef8e4c5f2414f7217a7ef32da9a39f2ae1875d5bf /net
parentc776cff6de5291edffd3f31b4c1750b48756ac48 (diff)
ncpfs: fix build warning of strncpy
Not upstream as ncpfs is long deleted. Fix up two strncpy build warnings in ncp_get_charsets() by using strscpy and the max size of the array. It's not like anyone uses this code anyway, and this gets rid of two build warnings so that we can see real warnings as they pop up over time. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions