summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2009-04-08 12:42:39 -0500
committerDavid Smith <dsmith@redhat.com>2009-04-08 12:42:39 -0500
commitf149549158a3d6dcb1118323d1dbcec27c4b3bbe (patch)
tree026809a32737d2abf37808b0983de0a09315b2c2 /tapsets.cxx
parent55c0f2bfefb04915622dd3688bba59da1addaec8 (diff)
parent909478bf88251987368339b1102f56fbd2d11ebd (diff)
downloadsystemtap-steved-f149549158a3d6dcb1118323d1dbcec27c4b3bbe.tar.gz
systemtap-steved-f149549158a3d6dcb1118323d1dbcec27c4b3bbe.tar.xz
systemtap-steved-f149549158a3d6dcb1118323d1dbcec27c4b3bbe.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index a7bda5f5..694490d8 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -1369,7 +1369,7 @@ struct dwflpp
function_name = name;
}
else if (tag == DW_TAG_label && name != 0
- && ((strncmp(name, sym, strlen(sym)) == 0)
+ && ((strcmp(name, sym) == 0)
|| (name_has_wildcard (sym)
&& function_name_matches_pattern (name, sym))))
{