aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/output
diff options
context:
space:
mode:
authorRyan Dwyer <RyanDwyer@users.noreply.github.com>2018-07-10 20:41:02 +1000
committerGitHub <noreply@github.com>2018-07-10 20:41:02 +1000
commit56ad148403d77a6defcbd6cd383dd5cde1a44954 (patch)
tree9dc36287be4bed02c4e98e600f26f48ceff5d8d6 /sway/commands/output
parent9dd54f934e73370b3438d48e062ec98a1db6b037 (diff)
parent5709c5d37577a9947bf31b249636c45f15b0258a (diff)
Merge branch 'master' into fix-stacked-layout
Diffstat (limited to 'sway/commands/output')
-rw-r--r--sway/commands/output/background.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/commands/output/background.c b/sway/commands/output/background.c
index 65b5f902..c2c138f8 100644
--- a/sway/commands/output/background.c
+++ b/sway/commands/output/background.c
@@ -72,7 +72,7 @@ struct cmd_results *output_cmd_background(int argc, char **argv) {
src = strdup(p.we_wordv[0]);
wordfree(&p);
if (!src) {
- wlr_log(L_ERROR, "Failed to duplicate string");
+ wlr_log(WLR_ERROR, "Failed to duplicate string");
return cmd_results_new(CMD_FAILURE, "output",
"Unable to allocate resource");
}
@@ -82,7 +82,7 @@ struct cmd_results *output_cmd_background(int argc, char **argv) {
char *conf = strdup(config->current_config);
if (!conf) {
- wlr_log(L_ERROR, "Failed to duplicate string");
+ wlr_log(WLR_ERROR, "Failed to duplicate string");
free(src);
return cmd_results_new(CMD_FAILURE, "output",
"Unable to allocate resources");
@@ -94,7 +94,7 @@ struct cmd_results *output_cmd_background(int argc, char **argv) {
if (!src) {
free(rel_path);
free(conf);
- wlr_log(L_ERROR, "Unable to allocate memory");
+ wlr_log(WLR_ERROR, "Unable to allocate memory");
return cmd_results_new(CMD_FAILURE, "output",
"Unable to allocate resources");
}