aboutsummaryrefslogtreecommitdiff
path: root/backend/multi
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-07-09 22:49:54 +0100
committeremersion <contact@emersion.fr>2018-07-09 22:49:54 +0100
commit7cbef152063e1fbb24e6204339ff4587a74be04b (patch)
treee5196a8d8931e1defd4d3b937913c9511be719b5 /backend/multi
parentffc8780893dd2c8a9ed2f7bd873ced576bc93cc1 (diff)
util: add wlr_ prefix to log symbols
Diffstat (limited to 'backend/multi')
-rw-r--r--backend/multi/backend.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/backend/multi/backend.c b/backend/multi/backend.c
index 33dfc6c5..f1d50347 100644
--- a/backend/multi/backend.c
+++ b/backend/multi/backend.c
@@ -22,7 +22,7 @@ static bool multi_backend_start(struct wlr_backend *wlr_backend) {
struct subbackend_state *sub;
wl_list_for_each(sub, &backend->backends, link) {
if (!wlr_backend_start(sub->backend)) {
- wlr_log(L_ERROR, "Failed to initialize backend.");
+ wlr_log(WLR_ERROR, "Failed to initialize backend.");
return false;
}
}
@@ -81,7 +81,7 @@ struct wlr_backend *wlr_multi_backend_create(struct wl_display *display) {
struct wlr_multi_backend *backend =
calloc(1, sizeof(struct wlr_multi_backend));
if (!backend) {
- wlr_log(L_ERROR, "Backend allocation failed");
+ wlr_log(WLR_ERROR, "Backend allocation failed");
return NULL;
}
@@ -144,14 +144,14 @@ bool wlr_multi_backend_add(struct wlr_backend *_multi,
multi_backend_get_renderer(&multi->backend);
struct wlr_renderer *backend_renderer = wlr_backend_get_renderer(backend);
if (multi_renderer != NULL && backend_renderer != NULL) {
- wlr_log(L_ERROR, "Could not add backend: multiple renderers at the "
+ wlr_log(WLR_ERROR, "Could not add backend: multiple renderers at the "
"same time aren't supported");
return false;
}
struct subbackend_state *sub = calloc(1, sizeof(struct subbackend_state));
if (sub == NULL) {
- wlr_log(L_ERROR, "Could not add backend: allocation failed");
+ wlr_log(WLR_ERROR, "Could not add backend: allocation failed");
return false;
}
wl_list_insert(&multi->backends, &sub->link);