diff options
Diffstat (limited to 'tools/perf/builtin-trace.c')
-rw-r--r-- | tools/perf/builtin-trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index fe39dc620179..c70e69ea1c5d 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c | |||
@@ -2250,7 +2250,7 @@ static int trace__replay(struct trace *trace) | |||
2250 | 2250 | ||
2251 | session = perf_session__new(&file, false, &trace->tool); | 2251 | session = perf_session__new(&file, false, &trace->tool); |
2252 | if (session == NULL) | 2252 | if (session == NULL) |
2253 | return -ENOMEM; | 2253 | return -1; |
2254 | 2254 | ||
2255 | if (symbol__init(&session->header.env) < 0) | 2255 | if (symbol__init(&session->header.env) < 0) |
2256 | goto out; | 2256 | goto out; |