projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
238d749
)
acpi: specify format for build_append_namestring
author
Michael S. Tsirkin
<mst@redhat.com>
Tue, 10 Mar 2015 17:13:15 +0000
(18:13 +0100)
committer
Michael S. Tsirkin
<mst@redhat.com>
Wed, 11 Mar 2015 17:24:29 +0000
(18:24 +0100)
Will catch users if we misused it.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
hw/acpi/aml-build.c
patch
|
blob
|
history
diff --git
a/hw/acpi/aml-build.c
b/hw/acpi/aml-build.c
index ace180b685cadaab806a0d6e07722c23c70bc579..6242908d6cd8d7228be8f797b0b45f22155b79f2 100644
(file)
--- a/
hw/acpi/aml-build.c
+++ b/
hw/acpi/aml-build.c
@@
-141,6
+141,7
@@
build_append_namestringv(GArray *array, const char *format, va_list ap)
g_strfreev(segs);
}
+GCC_FMT_ATTR(2, 3)
static void build_append_namestring(GArray *array, const char *format, ...)
{
va_list ap;