Merge pull request #4951

b21a60ef mlocker: set default log category (moneromooo-monero)
This commit is contained in:
Riccardo Spagni
2019-01-06 20:38:33 +02:00
+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 };