]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c
ShellPkg SmbiosView: Show "SocketDesignation" instead of "Socket" for Type 4
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / SmbiosView / PrintInfo.c
index 3f99dc4825dc027070b6250e30930d1686c598f6..7e17b69d5afa63537cbf3c0e1e3cf99891270a4c 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Module for clarifying the content of the smbios structure element information.\r
 \r
-  Copyright (c) 2005 - 2015, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2005 - 2016, Intel Corporation. All rights reserved.<BR>\r
   (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>  \r
   (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>\r
   This program and the accompanying materials\r
@@ -399,7 +399,7 @@ SmbiosPrintStructure (
   // Processor Information (Type 4)\r
   //\r
   case 4:\r
-    PRINT_PENDING_STRING (Struct, Type4, Socket);\r
+    PRINT_SMBIOS_STRING (Struct, Struct->Type4->Socket, SocketDesignation)\r
     DisplayProcessorType (Struct->Type4->ProcessorType, Option);\r
     if (AE_SMBIOS_VERSION (0x2, 0x6) && (Struct->Hdr->Length > 0x28) &&\r
         (Struct->Type4->ProcessorFamily == 0xFE)) {\r