diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-07-09 16:12:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-09 16:12:20 -0700 |
commit | 2518de655c7278728736d22549656c639e4c92f0 (patch) | |
tree | acd08ceb9709eb25541fa02fbc533a7c6a99dbad /backend/multi | |
parent | e78d72f42e10b43a76ef5ba6b8c4b3b470b25245 (diff) | |
parent | 7cbef152063e1fbb24e6204339ff4587a74be04b (diff) |
Merge pull request #1126 from emersion/wlr-log-prefix
util: add wlr_ prefix to log symbols
Diffstat (limited to 'backend/multi')
-rw-r--r-- | backend/multi/backend.c | 8 |
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); |