aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-01-06 20:38:32 +0200
committerRiccardo Spagni <ric@spagni.net>2019-01-06 20:38:33 +0200
commite723eb960ddc3478851c93bd4a16f72d49a8fa1e (patch)
tree3600288f68614dda6d10d477f558b16f5c954189 /contrib/epee/src
parentMerge pull request #4950 (diff)
parentmlocker: set default log category (diff)
downloadmonero-e723eb960ddc3478851c93bd4a16f72d49a8fa1e.tar.xz
Merge pull request #4951
b21a60ef mlocker: set default log category (moneromooo-monero)
Diffstat (limited to 'contrib/epee/src')
-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 078a84ce3..446fa3315 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 };