summaryrefslogtreecommitdiff
path: root/sway/commands/input/map_to_region.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/input/map_to_region.c')
-rw-r--r--sway/commands/input/map_to_region.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/input/map_to_region.c b/sway/commands/input/map_to_region.c
index 284b57d0..ad535db2 100644
--- a/sway/commands/input/map_to_region.c
+++ b/sway/commands/input/map_to_region.c
@@ -49,5 +49,5 @@ struct cmd_results *input_cmd_map_to_region(int argc, char **argv) {
error:
free(ic->mapped_to_region);
ic->mapped_to_region = NULL;
- return cmd_results_new(CMD_FAILURE, errstr);
+ return cmd_results_new(CMD_FAILURE, "%s", errstr);
}