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++));