diff options
Diffstat (limited to 'tools')
-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 f012395d16fb..16da20c552bc 100644 --- a/tools/lib/traceevent/event-parse.c +++ b/tools/lib/traceevent/event-parse.c | |||
@@ -2076,7 +2076,7 @@ process_fields(struct event_format *event, struct print_flag_sym **list, char ** | |||
2076 | goto out_free; | 2076 | goto out_free; |
2077 | 2077 | ||
2078 | field = malloc_or_die(sizeof(*field)); | 2078 | field = malloc_or_die(sizeof(*field)); |
2079 | memset(field, 0, sizeof(field)); | 2079 | memset(field, 0, sizeof(*field)); |
2080 | 2080 | ||
2081 | value = arg_eval(arg); | 2081 | value = arg_eval(arg); |
2082 | field->value = strdup(value); | 2082 | field->value = strdup(value); |