]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg: Update dh command to reflect correct driver field information
authorTapan Shah <tapandshah@hpe.com>
Tue, 27 Jun 2017 18:17:24 +0000 (02:17 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Thu, 29 Jun 2017 08:31:10 +0000 (16:31 +0800)
dh command gets driver name and wrongly prints it as 'Child [handle]'.
It should print it as 'Driver Name [handle]'.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hpe.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c
ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.uni

index 0bcee9245c63fdb6c616c5f843e394a1bbe9f179..170a868e07baa225ec7577b2deca5e8d0a664be7 100644 (file)
@@ -3,6 +3,7 @@
 \r
   (C) Copyright 2014-2015 Hewlett-Packard Development Company, L.P.<BR>\r
   Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>\r
+  (C) Copyright 2017 Hewlett Packard Enterprise Development LP<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -664,7 +665,7 @@ DisplayDriverModelHandle (
     -1, \r
     -1, \r
     NULL, \r
-    STRING_TOKEN (STR_DH_OUTPUT_DRIVER6B),\r
+    STRING_TOKEN (STR_DH_OUTPUT_DRIVER7),\r
     gShellDriver1HiiHandle,\r
     ConvertHandleToHandleIndex(Handle),\r
     DriverName!=NULL?DriverName:L"<Unknown>"\r
index 52156d5b05e871203983e6397138e986689fcd97..7a3e61e5fc56254f21e2d5dc94dd5a71e6d1e46d 100644 (file)
@@ -1,6 +1,6 @@
 // /**\r
 //\r
-// (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
+// (C) Copyright 2016-2017 Hewlett Packard Enterprise Development LP<BR>\r
 // (C) Copyright 2012-2015 Hewlett-Packard Development Company, L.P.<BR>\r
 // Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>\r
 // This program and the accompanying materials\r
 #string STR_DH_OUTPUT_DRIVER5B    #language en-US "     Parent[%H%02x%N]       : %B%s%N\r\n"\r
 #string STR_DH_OUTPUT_DRIVER6     #language en-US "   Child Controllers  : %B%s%N\r\n"\r
 #string STR_DH_OUTPUT_DRIVER6B    #language en-US "     Child[%H%02x%N]        : %B%s%N\r\n"\r
-#string STR_DH_OUTPUT_DRIVER7     #language en-US "   Driver Name        : %B%s%N\r\n"\r
+#string STR_DH_OUTPUT_DRIVER7     #language en-US "   Driver Name [%H%02x%N]  : %B%s%N\r\n"\r
 #string STR_DH_OUTPUT_DRIVER7B    #language en-US "   Driver Image Name  : %B%s%N\r\n"\r
 #string STR_DH_OUTPUT_DRIVER8     #language en-US "   Driver Version     : %B%08x%N\r\n"\r
                                                   "   Driver Type        : %B%s%N\r\n"\r