From 10ef872cdb2133f4910895605204fc0e1e21d160 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 7 Jul 2015 17:29:43 +0200 Subject: smbios: fix copy&paste error While extending the SMBIOS code to write a proper maximum structure size, the call to elog_smbios_write_type15() was botched. Fix the name and arguments. Change-Id: I4c93490b09ddf4da240ff8f2bd8f8cc3f2abd96e Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/10823 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/arch/x86/boot/smbios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/arch/x86/boot/smbios.c b/src/arch/x86/boot/smbios.c index fc5ac6634f..a1f05daeaf 100644 --- a/src/arch/x86/boot/smbios.c +++ b/src/arch/x86/boot/smbios.c @@ -553,7 +553,7 @@ unsigned long smbios_write_tables(unsigned long current) update_max(len, max_struct_size, smbios_write_type4(¤t, handle++)); update_max(len, max_struct_size, smbios_write_type11(¤t, &handle)); #if CONFIG_ELOG - update_max(len, max_struct_size, smbios_write_type15(¤t, &handle)); + update_max(len, max_struct_size, elog_smbios_write_type15(¤t, handle++)); #endif update_max(len, max_struct_size, smbios_write_type17(¤t, &handle)); update_max(len, max_struct_size, smbios_write_type32(¤t, handle++)); -- cgit v1.2.3