mlocker: set default log category

pull/4951/head
moneromooo-monero 6 years ago
parent e282e9fa40
commit b21a60efd9
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

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

Loading…
Cancel
Save