acpi: Add missing GCC_FMT_ATTR to local function
commitc167e2e7eda609bbbb58650c1b82e8168106e40e
authorStefan Weil <sw@weilnetz.de>
Fri, 20 Mar 2015 17:11:58 +0000 (20 18:11 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 25 Mar 2015 12:39:24 +0000 (25 13:39 +0100)
tree924e71dcca098a3be5c411cf158ed55f1110a282
parent054903a832b865eb5432d79b5c9d1e1ff31b58d7
acpi: Add missing GCC_FMT_ATTR to local function

This fixes these gcc warnings (not enabled in default build):

hw/acpi/aml-build.c:83:5: warning:
 function might be possible candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
hw/acpi/aml-build.c:88:5: warning:
 function might be possible candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]

Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/aml-build.c