Skip to content

Commit 96572d4

Browse files
yirenyangxmergify[bot]
authored andcommitted
ShellPkg: SMBIOS type 20 Extended Starting/Ending Address print type error
Wrong structure is used to print the SMBIOS type 20 Extended Starting/Ending Address in SmbiosView Signed-off-by: Ren Yang <RenYang@ami.com>
1 parent de6f1e8 commit 96572d4

File tree

1 file changed

+2
-2
lines changed
  • ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView

1 file changed

+2
-2
lines changed

ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -952,8 +952,8 @@ SmbiosPrintStructure (
952952
PRINT_STRUCT_VALUE_H (Struct, Type20, InterleavePosition);
953953
PRINT_STRUCT_VALUE_H (Struct, Type20, InterleavedDataDepth);
954954
if (AE_SMBIOS_VERSION (0x2, 0x7) && (Struct->Hdr->Length > 0x13)) {
955-
PRINT_STRUCT_VALUE_LH (Struct, Type19, ExtendedStartingAddress);
956-
PRINT_STRUCT_VALUE_LH (Struct, Type19, ExtendedEndingAddress);
955+
PRINT_STRUCT_VALUE_LH (Struct, Type20, ExtendedStartingAddress);
956+
PRINT_STRUCT_VALUE_LH (Struct, Type20, ExtendedEndingAddress);
957957
}
958958

959959
break;

0 commit comments

Comments
 (0)