From 5ec94158612e8ba9aed0de43c9f5f40d6f61f0cd Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Mon, 24 Jul 2023 20:24:33 +0300 Subject: [PATCH] compositor: Use the logging context when iterating over scopes In accordance to the upstream changes refer to the logging context rather than the compositor instance. Depends on https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29064 Bug-AGL: SPEC-4861 Signed-off-by: Marius Vlad Change-Id: I4a8aeac4ef33e0631c23ae85347fea8a1b36c4de --- src/compositor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor.c b/src/compositor.c index 6cb822b..52f1b18 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1862,7 +1862,7 @@ int wet_main(int argc, char *argv[], const struct weston_testsuite_data *test_da weston_log("Printing available debug scopes:\n"); - while ((nscope = weston_log_scopes_iterate(ivi.compositor, nscope))) { + while ((nscope = weston_log_scopes_iterate(log_ctx, nscope))) { weston_log("\tscope name: %s, desc: %s", weston_log_scope_get_name(nscope), weston_log_scope_get_description(nscope)); -- 2.16.6