aboutsummaryrefslogtreecommitdiff
path: root/common/log.c
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2016-02-08 12:30:42 +0100
committerFurkan Sahin <furkan-dev@proton.me>2016-02-08 12:30:42 +0100
commit1737189e783636c117c160743f6f364499577920 (patch)
tree24017e3e53a810dc27c9e2b9d2ed33bb15d3b386 /common/log.c
parent325ab19e99d84796beffc37d41492e2ef41ed3cb (diff)
Fix clang warnings
Diffstat (limited to 'common/log.c')
-rw-r--r--common/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/log.c b/common/log.c
index 0c0ecf89..adba0021 100644
--- a/common/log.c
+++ b/common/log.c
@@ -171,7 +171,7 @@ void error_handler(int sig) {
sway_log(L_ERROR, "Unable to allocate memory to show maps");
break;
}
- sway_log(L_ERROR, m);
+ sway_log(L_ERROR, "%s", m);
}
fclose(maps);
}