From: Chen Gang Date: Mon, 8 Apr 2013 04:12:39 +0000 (+0800) Subject: ftrace: Fix strncpy() use, use strlcpy() instead of strncpy() X-Git-Tag: v3.9-rc7~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75761cc15877c155b3849b4e0e0cb3f897faf471;p=pandora-kernel.git 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 Cc: rostedt@goodmis.org Cc: Frederic Weisbecker Link: http://lkml.kernel.org/r/516243B7.9020405@asianux.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed