summaryrefslogtreecommitdiffstats
path: root/executor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'executor.cpp')
-rw-r--r--executor.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/executor.cpp b/executor.cpp
index f6a7b5e..b3333ae 100644
--- a/executor.cpp
+++ b/executor.cpp
@@ -471,10 +471,13 @@ void executor::hashrate_report()
else
output.append("---------------------------\n");
- output.append("Totals: ").append(hps_format(fTotal[0], num, sizeof(num))).
- append(hps_format(fTotal[1], num, sizeof(num))).
- append(hps_format(fTotal[2], num, sizeof(num))).append(" H/s\nHighest: ").
- append(hps_format(fHighestHps, num, sizeof(num))).append(" H/s\n");
+ output.append("Totals: ");
+ output.append(hps_format(fTotal[0], num, sizeof(num)));
+ output.append(hps_format(fTotal[1], num, sizeof(num)));
+ output.append(hps_format(fTotal[2], num, sizeof(num)));
+ output.append(" H/s\nHighest: ");
+ output.append(hps_format(fHighestHps, num, sizeof(num)));
+ output.append(" H/s\n");
fputs(output.c_str(), stdout);
}
OpenPOWER on IntegriCloud