aboutsummaryrefslogtreecommitdiff
path: root/swaybar/ipc.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-07-09 16:23:03 -0700
committerGitHub <noreply@github.com>2018-07-09 16:23:03 -0700
commitfbeef1322f5d10c1e2dac0d7de2358a59f442455 (patch)
tree76624b3d4820551261e5c15f773c403c1a41264e /swaybar/ipc.c
parentebcdce457a318a0c23509fe1e5ab3a3dc94f24b6 (diff)
parent63b4bf500020cf35cebfdce2d73f8e359ff495c2 (diff)
Merge pull request #2234 from emersion/wlr-log-prefix
Update for swaywm/wlroots#1126
Diffstat (limited to 'swaybar/ipc.c')
-rw-r--r--swaybar/ipc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/swaybar/ipc.c b/swaybar/ipc.c
index 959fa095..08531f2a 100644
--- a/swaybar/ipc.c
+++ b/swaybar/ipc.c
@@ -327,7 +327,7 @@ bool handle_ipc_readable(struct swaybar *bar) {
json_object *result = json_tokener_parse(resp->payload);
if (!result) {
free_ipc_response(resp);
- wlr_log(L_ERROR, "failed to parse payload as json");
+ wlr_log(WLR_ERROR, "failed to parse payload as json");
return false;
}
json_object *json_change, *json_pango_markup;
@@ -340,7 +340,7 @@ bool handle_ipc_readable(struct swaybar *bar) {
bar->config->mode = strdup(change);
}
} else {
- wlr_log(L_ERROR, "failed to parse response");
+ wlr_log(WLR_ERROR, "failed to parse response");
json_object_put(result);
free_ipc_response(resp);
return false;