summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-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) {
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 }