perf: fixed mixup of stdout/stdin

This commit is contained in:
Andrew Tridgell 2016-04-12 18:56:10 +10:00 committed by Lorenz Meier
parent 59ee9ea1ae
commit 43235a8cff
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}