diff options
Diffstat (limited to 'trace/control.c')
-rw-r--r-- | trace/control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trace/control.c b/trace/control.c index e57f2d3f05..9035846b26 100644 --- a/trace/control.c +++ b/trace/control.c @@ -106,7 +106,7 @@ void trace_event_iter_init(TraceEventIter *iter, const char *pattern) TraceEvent *trace_event_iter_next(TraceEventIter *iter) { while (iter->event < TRACE_EVENT_COUNT) { - TraceEvent *ev = &(trace_events[iter->event]); + TraceEvent *ev = trace_events[iter->event]; iter->event++; if (!iter->pattern || pattern_glob(iter->pattern, |