aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2017-12-15 05:09:47 -0800
committerTejun Heo <[email protected]>2017-12-15 05:09:47 -0800
commit50034ed49645463a16327cad05694e201e6b4126 (patch)
tree0b79f9e253859188ce5914aa22c4c81eefcc79d3 /lib/test-string_helpers.c
parente7fd37ba12170cc414be8b639dfc2c5f7172fac2 (diff)
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 <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions