aboutsummaryrefslogtreecommitdiff
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) {
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);
}