aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-03-10 18:13:15 +0100
committerMichael S. Tsirkin <mst@redhat.com>2015-03-11 18:24:29 +0100
commit7927266183583f1fa90323890b21d2c03ed244f6 (patch)
treef397b084262f44b4951ef1ca71d594913069c410 /hw
parent238d7497b9268b1f91c07829de1f75b88011d76f (diff)
acpi: specify format for build_append_namestring
Will catch users if we misused it. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/acpi/aml-build.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c
index ace180b685..6242908d6c 100644
--- 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;