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