[Virtio-fs] [PATCH 1/6] disas: add G_GNUC_PRINTF to gstring_printf

Daniel P. Berrangé berrange at redhat.com
Mon Dec 19 13:02:00 UTC 2022


Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---
 disas.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/disas.c b/disas.c
index 94d3b45042..31df8f5b89 100644
--- a/disas.c
+++ b/disas.c
@@ -239,6 +239,7 @@ void target_disas(FILE *out, CPUState *cpu, target_ulong code,
     }
 }
 
+G_GNUC_PRINTF(2, 3)
 static int gstring_printf(FILE *stream, const char *fmt, ...)
 {
     /* We abuse the FILE parameter to pass a GString. */
-- 
2.38.1



More information about the Virtio-fs mailing list