aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/fuse_log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fuse_log.c b/lib/fuse_log.c
index 95d6379..c1d16c1 100644
--- a/lib/fuse_log.c
+++ b/lib/fuse_log.c
@@ -23,7 +23,7 @@ static void default_log_func(__attribute__((unused)) enum fuse_log_level level,
const char *fmt, va_list ap)
{
if (to_syslog) {
- int sys_log_level;
+ int sys_log_level = LOG_ERR;
/*
* with glibc fuse_log_level has identical values as
@@ -93,4 +93,4 @@ void fuse_log_enable_syslog(const char *ident, int option, int facility)
void fuse_log_close_syslog(void)
{
closelog();
-} \ No newline at end of file
+}