diff options
Diffstat (limited to 'sway/commands/set.c')
-rw-r--r-- | sway/commands/set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/set.c b/sway/commands/set.c index dcd928ba..856c73e7 100644 --- a/sway/commands/set.c +++ b/sway/commands/set.c | |||
@@ -33,7 +33,7 @@ struct cmd_results *cmd_set(int argc, char **argv) { | |||
33 | } | 33 | } |
34 | 34 | ||
35 | if (argv[0][0] != '$') { | 35 | if (argv[0][0] != '$') { |
36 | sway_log(L_INFO, "Warning: variable '%s' doesn't start with $", argv[0]); | 36 | wlr_log(L_INFO, "Warning: variable '%s' doesn't start with $", argv[0]); |
37 | 37 | ||
38 | size_t size = snprintf(NULL, 0, "$%s", argv[0]); | 38 | size_t size = snprintf(NULL, 0, "$%s", argv[0]); |
39 | tmp = malloc(size + 1); | 39 | tmp = malloc(size + 1); |