mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user