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>
master
Philippe Mathieu-Daudé 2022-11-01 12:44:56 +01:00
parent 50fc0945b6
commit d03a008e82
1 changed files with 1 additions and 1 deletions

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;