acpi: Add missing GCC_FMT_ATTR to local function
commit96bb14d0e3187943f553f6aaa9b0060219b1ab6d
authorStefan Weil <sw@weilnetz.de>
Wed, 11 Mar 2015 21:00:56 +0000 (11 22:00 +0100)
committerStefan Weil <sw@weilnetz.de>
Fri, 20 Mar 2015 19:35:55 +0000 (20 20:35 +0100)
tree9db1550d3e3c6bcab40d581836106f2dccaf9147
parentcb19757a620d61bee6fbef0519fde58986b9e877
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>
hw/acpi/aml-build.c