mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 17:32:33 +00:00
Merge pull request #4951
b21a60ef
mlocker: set default log category (moneromooo-monero)
This commit is contained in:
commit
e723eb960d
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue