From 2d6669d5716e92497493a456c4415e73d1e30e66 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 22 Mar 2023 15:08:29 +0100 Subject: [PATCH] acp: fix pa_strbuf We need vfprintf. --- spa/plugins/alsa/acp/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/alsa/acp/compat.h b/spa/plugins/alsa/acp/compat.h index 5b92d14d2..6532be817 100644 --- a/spa/plugins/alsa/acp/compat.h +++ b/spa/plugins/alsa/acp/compat.h @@ -368,7 +368,7 @@ static PA_PRINTF_FUNC(2,3) inline size_t pa_strbuf_printf(pa_strbuf *sb, const c int ret; va_list args; va_start(args, format); - ret = fprintf(sb->f, format, args); + ret = vfprintf(sb->f, format, args); va_end(args); return ret > 0 ? ret : 0; }