mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
mlocker: set default log category
This commit is contained in:
parent
e282e9fa40
commit
b21a60efd9
@ -40,6 +40,9 @@
|
|||||||
|
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
|
|
||||||
|
#undef MONERO_DEFAULT_LOG_CATEGORY
|
||||||
|
#define MONERO_DEFAULT_LOG_CATEGORY "mlocker"
|
||||||
|
|
||||||
// did an mlock operation previously fail? we only
|
// did an mlock operation previously fail? we only
|
||||||
// want to log an error once and be done with it
|
// want to log an error once and be done with it
|
||||||
static std::atomic<bool> previously_failed{ false };
|
static std::atomic<bool> previously_failed{ false };
|
||||||
|
Loading…
Reference in New Issue
Block a user