mlocker: set default log category

This commit is contained in:
moneromooo-monero
2019-01-08 21:36:16 +03:00
committed by wowario
parent 0030100645
commit f875a0312e
+3
View File
@@ -40,6 +40,9 @@
#include <atomic>
#undef MONERO_DEFAULT_LOG_CATEGORY
#define MONERO_DEFAULT_LOG_CATEGORY "mlocker"
// did an mlock operation previously fail? we only
// want to log an error once and be done with it
static std::atomic<bool> previously_failed{ false };