mirror of https://gitee.com/openkylin/qemu.git
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