diff options
author | Zhao Hongjiang <zhaohongjiang@huawei.com> | 2013-07-03 15:08:28 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 16:08:02 -0700 |
commit | 30bc30df102b2d0c003d93477e04b97e6c528573 (patch) | |
tree | 47ddf47773fa5335036d994874af629291715fab /fs/filesystems.c | |
parent | 1d98a5fa11e9a66a7cf7b03f73cab60184781065 (diff) | |
download | linux-30bc30df102b2d0c003d93477e04b97e6c528573.tar.bz2 |
fs/proc/kcore.c: using strlcpy() instead of strncpy()
For NUL terminated string, set '\0' at the end.
Signed-off-by: Zhao Hongjiang <zhaohongjiang@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/filesystems.c')
0 files changed, 0 insertions, 0 deletions