From: Juha Leppanen Date: Mon, 7 Dec 2009 17:00:40 +0000 (-0500) Subject: perf probe: Fix strtailcmp() to compare s1and s2[0] X-Git-Tag: v2.6.33-rc1~306^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d56728b8d7fb3e1e5e5f97b88fdf6b43a35b4f5e;p=pandora-kernel.git perf probe: Fix strtailcmp() to compare s1and s2[0] Fix strtailcmp() to compare s1[0] and s2[0]. strtailcmp() returns 0 if "a" and "b" or "a" and "ab", it's a wrong behavior. This patch fixes it. Signed-off-by: "Juha Leppanen" Acked-by: Masami Hiramatsu Cc: systemtap Cc: DLE Cc: Juha Leppanen Cc: Frederic Weisbecker LKML-Reference: <20091207170040.19230.37464.stgit@dhcp-100-2-132.bos.redhat.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed