summaryrefslogtreecommitdiffstats
path: root/host/lib/utils
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/utils')
-rw-r--r--host/lib/utils/log.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/lib/utils/log.cpp b/host/lib/utils/log.cpp
index 4c4e0066d..7d11877a1 100644
--- a/host/lib/utils/log.cpp
+++ b/host/lib/utils/log.cpp
@@ -95,6 +95,10 @@ public:
uhd::_log::verbosity_t verbosity, level;
log_resource_type(void){
+
+ //file lock pointer must be null
+ _file_lock = NULL;
+
//set the default log level
level = uhd::_log::never;