aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-12-07 13:13:24 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-12-07 13:13:24 +0000
commitb21a60efd98f32fe27d5aa16fe086c4bc9d403ed (patch)
treeb3fcab266e75e6bdb69d9cb3abbbbd36e232c921 /contrib
parentMerge pull request #4878 (diff)
downloadmonero-b21a60efd98f32fe27d5aa16fe086c4bc9d403ed.tar.xz
mlocker: set default log category
Diffstat (limited to 'contrib')
-rw-r--r--contrib/epee/src/mlocker.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/epee/src/mlocker.cpp b/contrib/epee/src/mlocker.cpp
index 8e24e8438..12dff7918 100644
--- a/contrib/epee/src/mlocker.cpp
+++ b/contrib/epee/src/mlocker.cpp
@@ -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 };