diff options
author | 2017-12-15 05:09:47 -0800 | |
---|---|---|
committer | 2017-12-15 05:09:47 -0800 | |
commit | 50034ed49645463a16327cad05694e201e6b4126 (patch) | |
tree | 0b79f9e253859188ce5914aa22c4c81eefcc79d3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cgroup: avoid copying strings longer than the buffers (diff) | |
download | linux-dev-50034ed49645463a16327cad05694e201e6b4126.tar.xz linux-dev-50034ed49645463a16327cad05694e201e6b4126.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions