From 7b3ef1ac4ee513a1524d08b3d11fd791e6d3fb58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Sat, 25 Feb 2023 20:17:51 +0100 Subject: [PATCH] spa: alsa: fix `spa_log_trace_fp()` args Less arguments were passed than required by the format string. --- spa/plugins/alsa/alsa-compress-offload-sink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spa/plugins/alsa/alsa-compress-offload-sink.c b/spa/plugins/alsa/alsa-compress-offload-sink.c index 712f952dc..f0948f40f 100644 --- a/spa/plugins/alsa/alsa-compress-offload-sink.c +++ b/spa/plugins/alsa/alsa-compress-offload-sink.c @@ -728,7 +728,7 @@ static void on_driver_timeout(struct spa_source *source) if (SPA_LIKELY(io != NULL)) { spa_log_trace_fp(this->log, "%p: ran out of buffers to output, " - "need more; IO status: %d", io->status); + "need more; IO status: %d", this, io->status); io->status = SPA_STATUS_NEED_DATA; spa_node_call_ready(&this->callbacks, SPA_STATUS_NEED_DATA); } else { @@ -756,7 +756,7 @@ static inline void check_position_and_clock_config(struct impl *this) this->cycle_rate = this->node_position_io->clock.rate.denom; } else { /* This can happen at the very beginning if node_position_io - * isn't passed to this node in time. */ + * isn't passed to this node in time. */ this->cycle_duration = 1024; this->cycle_rate = 48000; }