commit 2b9a236dbc0d30e7d8dc6feaf3e9abd82e88a7ed
parent ef29c5928bc548cbc72cc90f55c01e5fd08d19c8
Author: Louis Burda <quent.burda@gmail.com>
Date: Sun, 10 Mar 2024 00:00:07 +0100
Add format attribute to mplay_status
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/mplay.h b/mplay.h
@@ -196,6 +196,7 @@ mplay_info_parse(const char *str)
static void
__attribute__((unused))
+__attribute__((format(printf, 2, 3)))
mplay_status(enum mplay_info info, const char *fmt, ...)
{
va_list ap;