summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/profile.c b/core/profile.c
index 2302822fe..c1bcc40fa 100644
--- a/core/profile.c
+++ b/core/profile.c
@@ -341,7 +341,7 @@ struct event *get_next_event_mutable(struct event *event, const char *name)
if (!name || !*name)
return NULL;
while (event) {
- if (!strcmp(event->name, name))
+ if (same_string(event->name, name))
return event;
event = event->next;
}