summaryrefslogtreecommitdiff
path: root/common/log.c
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <[email protected]>2016-02-08 12:30:42 +0100
committerMikkel Oscar Lyderik <[email protected]>2016-02-08 12:30:42 +0100
commitbacd40d6db684e043a8fdcc5f56f349105b53e75 (patch)
tree24017e3e53a810dc27c9e2b9d2ed33bb15d3b386 /common/log.c
parent4546ce11889b3b5b29a33b4684d368d74aaea760 (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);
}