commit | 8b9c3b897c682cd9739c6aef73b3220c7204c243 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Thu Nov 21 11:19:58 2013 +0200 |
committer | Michael S. Tsirkin <mst@redhat.com> | Thu Nov 21 16:28:21 2013 +0200 |
tree | deb591099dcb915cf3ec1faaf2ffea1b7386b09e | |
parent | 5c397242d5d53c1adecce31817bb439383cf8228 [diff] |
acpi-build: fix build on glib < 2.22 g_string_vprintf was only introduced in 2.24 so switch to vsnprintf instead. A bit uglier but name size is fixed at 4 bytes here so it's easy. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reported-by: Richard Henderson <rth@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>