From 9eda8344173b6f0d83eaa8f9a4d09aa505c9b2ba Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 14 Sep 2021 15:27:24 +1000 Subject: [PATCH] spa: use the spa_log_logv macro to chain the log calls No need to use the interface call directly here, let's just use the macro. --- spa/plugins/support/journal.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spa/plugins/support/journal.c b/spa/plugins/support/journal.c index b0dae43f9..a7c67e9da 100644 --- a/spa/plugins/support/journal.c +++ b/spa/plugins/support/journal.c @@ -69,9 +69,8 @@ impl_log_logv(void *object, if (impl->chain_log != NULL) { va_list args_copy; va_copy(args_copy, args); - spa_interface_call(&impl->chain_log->iface, - struct spa_log_methods, logv, 0, - level, file, line, func, fmt, args_copy); + spa_log_logv(impl->chain_log, + level, file, line, func, fmt, args_copy); va_end(args_copy); }