diff options
author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-02-08 12:30:42 +0100 |
---|---|---|
committer | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-02-08 12:30:42 +0100 |
commit | bacd40d6db684e043a8fdcc5f56f349105b53e75 (patch) | |
tree | 24017e3e53a810dc27c9e2b9d2ed33bb15d3b386 /common/log.c | |
parent | Add wlc-render.h to handlers.c (diff) | |
download | sway-bacd40d6db684e043a8fdcc5f56f349105b53e75.tar.gz sway-bacd40d6db684e043a8fdcc5f56f349105b53e75.tar.zst sway-bacd40d6db684e043a8fdcc5f56f349105b53e75.zip |
Fix clang warnings
Diffstat (limited to 'common/log.c')
-rw-r--r-- | common/log.c | 2 |
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) { | |||
171 | sway_log(L_ERROR, "Unable to allocate memory to show maps"); | 171 | sway_log(L_ERROR, "Unable to allocate memory to show maps"); |
172 | break; | 172 | break; |
173 | } | 173 | } |
174 | sway_log(L_ERROR, m); | 174 | sway_log(L_ERROR, "%s", m); |
175 | } | 175 | } |
176 | fclose(maps); | 176 | fclose(maps); |
177 | } | 177 | } |