disas/nanomips: Use G_GNUC_PRINTF to avoid invalid string formats

Suggested-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221101114458.25756-4-philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2022-11-01 12:44:56 +01:00
parent 50fc0945b6
commit d03a008e82

View File

@ -95,7 +95,7 @@ typedef struct Pool {
#define IMGASSERTONCE(test)
static char *img_format(const char *format, ...)
static char * G_GNUC_PRINTF(1, 2) img_format(const char *format, ...)
{
char *buffer;
va_list args;