From 43235a8cff4f1acd8d6e0ba19a17f7a85144164e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 12 Apr 2016 18:56:10 +1000 Subject: [PATCH] perf: fixed mixup of stdout/stdin --- src/systemcmds/perf/perf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/systemcmds/perf/perf.c b/src/systemcmds/perf/perf.c index fb4e5030fc..49551aec93 100644 --- a/src/systemcmds/perf/perf.c +++ b/src/systemcmds/perf/perf.c @@ -70,7 +70,7 @@ int perf_main(int argc, char *argv[]) return 0; } else if (strcmp(argv[1], "latency") == 0) { - perf_print_latency(0 /* stdout */); + perf_print_latency(1 /* stdout */); fflush(stdout); return 0; } @@ -79,7 +79,7 @@ int perf_main(int argc, char *argv[]) return -1; } - perf_print_all(0 /* stdout */); + perf_print_all(1 /* stdout */); fflush(stdout); return 0; }