diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-04-08 12:06:44 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-04-08 13:26:56 +0200 |
commit | 67012ab1d2ce871afea4ee55408f233f97d09d07 (patch) | |
tree | 3f44d6c02233abb51848bfa991d571e86397b431 /kernel/srcu.c | |
parent | c97847d2f0eb77c806e650e04d9bbcf79fa05730 (diff) | |
download | linux-67012ab1d2ce871afea4ee55408f233f97d09d07.tar.bz2 |
perf: Fix strncpy() use, use strlcpy() instead of strncpy()
For NUL terminated string we always need to set '\0' at the end.
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Cc: rostedt@goodmis.org
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/r/51624254.30301@asianux.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/srcu.c')
0 files changed, 0 insertions, 0 deletions