mlocker: set default log category

This commit is contained in:
moneromooo-monero 2018-12-07 13:13:24 +00:00
parent e282e9fa40
commit b21a60efd9
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -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 };