diff options
Diffstat (limited to 'trace-read.c')
| -rw-r--r-- | trace-read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trace-read.c b/trace-read.c index f2c7de2..306fa3a 100644 --- a/trace-read.c +++ b/trace-read.c | |||
| @@ -276,7 +276,7 @@ struct tracecmd_input *read_trace_header(void) | |||
| 276 | if (input_fd < 0) | 276 | if (input_fd < 0) |
| 277 | die("opening '%s'\n", input_file); | 277 | die("opening '%s'\n", input_file); |
| 278 | 278 | ||
| 279 | return tracecmd_open_fd(input_fd); | 279 | return tracecmd_alloc_fd(input_fd); |
| 280 | } | 280 | } |
| 281 | 281 | ||
| 282 | void trace_report (int argc, char **argv) | 282 | void trace_report (int argc, char **argv) |
