aboutsummaryrefslogtreecommitdiffstats
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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sway/commands/input/map_to_region.c b/sway/commands/input/map_to_region.c
index e85495e5..9087c589 100644
--- a/sway/commands/input/map_to_region.c
+++ b/sway/commands/input/map_to_region.c
@@ -1,7 +1,5 @@
1#define _POSIX_C_SOURCE 200809L
2#include <stdlib.h> 1#include <stdlib.h>
3#include <string.h> 2#include <string.h>
4#include <wlr/types/wlr_box.h>
5#include "sway/commands.h" 3#include "sway/commands.h"
6#include "sway/config.h" 4#include "sway/config.h"
7 5
@@ -50,5 +48,5 @@ struct cmd_results *input_cmd_map_to_region(int argc, char **argv) {
50error: 48error:
51 free(ic->mapped_to_region); 49 free(ic->mapped_to_region);
52 ic->mapped_to_region = NULL; 50 ic->mapped_to_region = NULL;
53 return cmd_results_new(CMD_FAILURE, errstr); 51 return cmd_results_new(CMD_FAILURE, "%s", errstr);
54} 52}