summaryrefslogtreecommitdiffstats
path: root/xmrstak/misc
diff options
context:
space:
mode:
authorUnknown <fireice2@o2.pl>2017-11-14 16:12:18 +0000
committerUnknown <fireice2@o2.pl>2017-11-14 16:12:18 +0000
commit8f9eb8ef2e10872344ecf4281c9a0a0946b00e4c (patch)
tree1b630dab530908a575ee973337f43350325c71e4 /xmrstak/misc
parent8130f656b6899c9a8ffc1741a0609d306c2bb449 (diff)
downloadxmr-stak-8f9eb8ef2e10872344ecf4281c9a0a0946b00e4c.zip
xmr-stak-8f9eb8ef2e10872344ecf4281c9a0a0946b00e4c.tar.gz
change getName to static lc string (sorry psc)
Diffstat (limited to 'xmrstak/misc')
-rw-r--r--xmrstak/misc/executor.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/xmrstak/misc/executor.cpp b/xmrstak/misc/executor.cpp
index 454d1cf..07ab759 100644
--- a/xmrstak/misc/executor.cpp
+++ b/xmrstak/misc/executor.cpp
@@ -641,7 +641,10 @@ void executor::hashrate_report(std::string& out)
size_t i;
auto bType = static_cast<xmrstak::iBackend::BackendType>(b);
- out.append("HASHRATE REPORT - ").append(xmrstak::iBackend::getName(bType)).append("\n");
+ std::string name(xmrstak::iBackend::getName(bType));
+ std::transform(name.begin(), name.end(), name.begin(), ::toupper);
+
+ out.append("HASHRATE REPORT - ").append(name).append("\n");
out.append("| ID | 10s | 60s | 15m |");
if(nthd != 1)
out.append(" ID | 10s | 60s | 15m |\n");
OpenPOWER on IntegriCloud