diff options
| author | Chen Gang <[email protected]> | 2013-04-08 12:12:39 +0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2013-04-08 13:26:56 +0200 |
| commit | 75761cc15877c155b3849b4e0e0cb3f897faf471 (patch) | |
| tree | 8ba53195b51c031314c7454720af9d03ee9ec8f3 /fs/ubifs/commit.c | |
| parent | 67012ab1d2ce871afea4ee55408f233f97d09d07 (diff) | |
ftrace: 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 <[email protected]>
Cc: [email protected]
Cc: Frederic Weisbecker <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions