diff options
author | Markus Armbruster | 2013-08-16 15:18:28 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2013-09-28 21:40:58 +0200 |
commit | 351a6a73ca7a9123f0dfd6c6f85fd01e82fe3741 (patch) | |
tree | 842a686eecfd3dfb9c88c9880541460cc7b5aba1 /include/hw/i386 | |
parent | virtio-net: fix up HMP NIC info string on reset (diff) | |
download | qemu-351a6a73ca7a9123f0dfd6c6f85fd01e82fe3741.tar.gz qemu-351a6a73ca7a9123f0dfd6c6f85fd01e82fe3741.tar.xz qemu-351a6a73ca7a9123f0dfd6c6f85fd01e82fe3741.zip |
smbios: Normalize smbios_entry_add()'s error handling to exit(1)
It exits on all error conditions but one, where it returns -1.
Normalize, and return void.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/i386')
-rw-r--r-- | include/hw/i386/smbios.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/i386/smbios.h b/include/hw/i386/smbios.h index 9babeaf270..56c6108848 100644 --- a/include/hw/i386/smbios.h +++ b/include/hw/i386/smbios.h @@ -13,7 +13,7 @@ * */ -int smbios_entry_add(const char *t); +void smbios_entry_add(const char *t); void smbios_add_field(int type, int offset, const void *data, size_t len); uint8_t *smbios_get_table(size_t *length); |