diff options
-rw-r--r-- | tools/lib/traceevent/event-parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/traceevent/event-parse.c b/tools/lib/traceevent/event-parse.c index 5a824e355d04..7538a1f9c557 100644 --- a/tools/lib/traceevent/event-parse.c +++ b/tools/lib/traceevent/event-parse.c | |||
@@ -2481,7 +2481,7 @@ process_dynamic_array(struct event_format *event, struct print_arg *arg, char ** | |||
2481 | 2481 | ||
2482 | free_token(token); | 2482 | free_token(token); |
2483 | arg = alloc_arg(); | 2483 | arg = alloc_arg(); |
2484 | if (!field) { | 2484 | if (!arg) { |
2485 | do_warning("%s: not enough memory!", __func__); | 2485 | do_warning("%s: not enough memory!", __func__); |
2486 | *tok = NULL; | 2486 | *tok = NULL; |
2487 | return EVENT_ERROR; | 2487 | return EVENT_ERROR; |