From ebc85e3f724d17530e74df665d1a30fb9b0041b5 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 7 Jun 2013 15:00:34 +0200 Subject: smbios: Clean up smbios_add_field() parameters Having size precede the associated pointer is odd. Swap them, and fix up the types. Signed-off-by: Markus Armbruster Reviewed-by: Laszlo "ever the optimist" Ersek Message-id: 1370610036-10577-5-git-send-email-armbru@redhat.com Signed-off-by: Anthony Liguori --- arch_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch_init.c') diff --git a/arch_init.c b/arch_init.c index 5d71870b5c..872020e062 100644 --- a/arch_init.c +++ b/arch_init.c @@ -1029,7 +1029,7 @@ int qemu_uuid_parse(const char *str, uint8_t *uuid) return -1; } #ifdef TARGET_I386 - smbios_add_field(1, offsetof(struct smbios_type_1, uuid), 16, uuid); + smbios_add_field(1, offsetof(struct smbios_type_1, uuid), uuid, 16); #endif return 0; } -- cgit v1.2.1