diff options
Diffstat (limited to 'tools/lib/traceevent/event-parse-api.c')
-rw-r--r-- | tools/lib/traceevent/event-parse-api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/traceevent/event-parse-api.c b/tools/lib/traceevent/event-parse-api.c index 61f7149085ee..0dc011154ee9 100644 --- a/tools/lib/traceevent/event-parse-api.c +++ b/tools/lib/traceevent/event-parse-api.c | |||
@@ -15,7 +15,7 @@ | |||
15 | * This returns pointer to the first element of the events array | 15 | * This returns pointer to the first element of the events array |
16 | * If @tep is NULL, NULL is returned. | 16 | * If @tep is NULL, NULL is returned. |
17 | */ | 17 | */ |
18 | struct tep_event_format *tep_get_first_event(struct tep_handle *tep) | 18 | struct tep_event *tep_get_first_event(struct tep_handle *tep) |
19 | { | 19 | { |
20 | if (tep && tep->events) | 20 | if (tep && tep->events) |
21 | return tep->events[0]; | 21 | return tep->events[0]; |