aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/traceevent/event-parse-api.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/traceevent/event-parse-api.c')
-rw-r--r--tools/lib/traceevent/event-parse-api.c2
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 */
18struct tep_event_format *tep_get_first_event(struct tep_handle *tep) 18struct 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];