diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-07-09 16:23:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-09 16:23:03 -0700 |
commit | fbeef1322f5d10c1e2dac0d7de2358a59f442455 (patch) | |
tree | 76624b3d4820551261e5c15f773c403c1a41264e /sway/commands/output | |
parent | ebcdce457a318a0c23509fe1e5ab3a3dc94f24b6 (diff) | |
parent | 63b4bf500020cf35cebfdce2d73f8e359ff495c2 (diff) |
Merge pull request #2234 from emersion/wlr-log-prefix
Update for swaywm/wlroots#1126
Diffstat (limited to 'sway/commands/output')
-rw-r--r-- | sway/commands/output/background.c | 6 |
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"); } |