mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 12:23:36 +08:00
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>
This commit is contained in:
parent
238d7497b9
commit
7927266183
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user