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:
parent
50fc0945b6
commit
d03a008e82
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user