projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50fc094
)
disas/nanomips: Use G_GNUC_PRINTF to avoid invalid string formats
author
Philippe Mathieu-Daudé
<philmd@linaro.org>
Tue, 1 Nov 2022 11:44:56 +0000
(12:44 +0100)
committer
Philippe Mathieu-Daudé
<philmd@linaro.org>
Tue, 8 Nov 2022 00:04:25 +0000
(
01:04
+0100)
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>
disas/nanomips.c
patch
|
blob
|
history
diff --git
a/disas/nanomips.c
b/disas/nanomips.c
index e4b21e7c45b676a25947c4e31cc9c052eaa22176..3f45447292c452b1b8ac969e3295a2dd75443a9c 100644
(file)
--- a/
disas/nanomips.c
+++ b/
disas/nanomips.c
@@
-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;