aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/traceevent/event-parse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/lib/traceevent/event-parse.c b/tools/lib/traceevent/event-parse.c
index 337ca02fb525..99b0cd4b79d4 100644
--- a/tools/lib/traceevent/event-parse.c
+++ b/tools/lib/traceevent/event-parse.c
@@ -4770,7 +4770,8 @@ int pevent_parse_event(struct pevent *pevent,
4770 arg->field.name = strdup(field->name); 4770 arg->field.name = strdup(field->name);
4771 if (!arg->field.name) { 4771 if (!arg->field.name) {
4772 do_warning("failed to allocate field name"); 4772 do_warning("failed to allocate field name");
4773 goto event_failed; 4773 event->flags |= EVENT_FL_FAILED;
4774 return -1;
4774 } 4775 }
4775 arg->field.field = field; 4776 arg->field.field = field;
4776 } 4777 }