summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-12-15 16:09:47 +0300
committerTejun Heo <tj@kernel.org>2017-12-15 16:09:47 +0300
commit50034ed49645463a16327cad05694e201e6b4126 (patch)
tree0b79f9e253859188ce5914aa22c4c81eefcc79d3 /net/unix/af_unix.c
parente7fd37ba12170cc414be8b639dfc2c5f7172fac2 (diff)
downloadlinux-50034ed49645463a16327cad05694e201e6b4126.tar.xz
cgroup: use strlcpy() instead of strscpy() to avoid spurious warning
As long as cft->name is guaranteed to be NUL-terminated, using strlcpy() would work just as well and avoid that warning, so the change below could be folded into that commit. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions