diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-12-07 13:13:24 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-12-07 13:13:24 +0000 |
commit | b21a60efd98f32fe27d5aa16fe086c4bc9d403ed (patch) | |
tree | b3fcab266e75e6bdb69d9cb3abbbbd36e232c921 /contrib/epee | |
parent | Merge pull request #4878 (diff) | |
download | monero-b21a60efd98f32fe27d5aa16fe086c4bc9d403ed.tar.xz |
mlocker: set default log category
Diffstat (limited to 'contrib/epee')
-rw-r--r-- | contrib/epee/src/mlocker.cpp | 3 |
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 }; |