diff options
author | Chen Gang <[email protected]> | 2013-04-08 12:06:44 +0800 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2013-04-09 11:25:08 -0400 |
commit | 9607a869ee59594f3f7b9f3ac43a11d92bf3f960 (patch) | |
tree | 18dcec81e889275f3003535f9f2e96cdb7f50298 /lib/mpi/mpi-bit.c | |
parent | 22f45649ce08642ad7df238d5c25fa5c86bfdd31 (diff) |
kernel: tracing: Use strlcpy instead of strncpy
Use strlcpy() instead of strncpy() as it will always add a '\0'
to the end of the string even if the buffer is smaller than what
is being copied.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Chen Gang <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions