From: Dan Carpenter Date: Sat, 10 Jul 2010 10:06:44 +0000 (+0200) Subject: trace: strlen() return doesn't account for the NULL X-Git-Tag: v2.6.36-rc1~532^2~27^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24a461d537f49f9da6533d83100999ea08c6c755;p=pandora-kernel.git trace: strlen() return doesn't account for the NULL We need to add one to the strlen() return because of the NULL character. The type->name here generally comes from the kernel and I don't think any of them come close to being MAX_TRACER_SIZE (100) characters long so this is basically a cleanup. Signed-off-by: Dan Carpenter LKML-Reference: <20100710100644.GV19184@bicker> Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed