summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/cpu/crypto/cryptonight_common.cpp
diff options
context:
space:
mode:
authorfireice-uk <fireice-uk@users.noreply.github.com>2017-12-26 21:11:22 +0000
committerfireice-uk <fireice-uk@users.noreply.github.com>2017-12-26 21:11:22 +0000
commitb216f39a52d87e48b2399da5e3272a9a464ac359 (patch)
tree7d8beeeef733279d3e715c46ba32aa534bf882ca /xmrstak/backend/cpu/crypto/cryptonight_common.cpp
parent5e5888bff84eb98932df1852ef57ff6ebfc0be56 (diff)
downloadxmr-stak-b216f39a52d87e48b2399da5e3272a9a464ac359.zip
xmr-stak-b216f39a52d87e48b2399da5e3272a9a464ac359.tar.gz
Busywork courtesy of Microsoft
Add messages Missing include 1
Diffstat (limited to 'xmrstak/backend/cpu/crypto/cryptonight_common.cpp')
-rw-r--r--xmrstak/backend/cpu/crypto/cryptonight_common.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmrstak/backend/cpu/crypto/cryptonight_common.cpp b/xmrstak/backend/cpu/crypto/cryptonight_common.cpp
index 583deff..547b104 100644
--- a/xmrstak/backend/cpu/crypto/cryptonight_common.cpp
+++ b/xmrstak/backend/cpu/crypto/cryptonight_common.cpp
@@ -31,6 +31,7 @@ extern "C"
#include "cryptonight.h"
#include "cryptonight_aesni.h"
#include "xmrstak/backend/cryptonight.hpp"
+#include "xmrstak/misc/console.hpp"
#include "xmrstak/jconf.hpp"
#include <stdio.h>
#include <stdlib.h>
@@ -178,6 +179,7 @@ size_t cryptonight_init(size_t use_fast_mem, size_t use_mlock, alloc_msg* msg)
if(AddPrivilege(TEXT("SeLockMemoryPrivilege")) == 0)
{
+ printer::inst()->print_msg(L0, "Elevating because we need to set up fast memory privileges.");
RequestElevation();
if(AddLargePageRights())
OpenPOWER on IntegriCloud