From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from g2t2354.austin.hpe.com (g2t2354.austin.hpe.com [15.233.44.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B25EA21CB57A1 for ; Tue, 27 Jun 2017 11:15:56 -0700 (PDT) Received: from SHAHTA1.americas.hpqcorp.net (SHAHTA1.americas.hpqcorp.net [16.114.186.182]) by g2t2354.austin.hpe.com (Postfix) with ESMTP id D4BD258; Tue, 27 Jun 2017 18:17:26 +0000 (UTC) From: Tapan Shah To: edk2-devel@lists.01.org Cc: jaben.carsey@intel.com, ruiyu.ni@intel.com, Tapan Shah Date: Tue, 27 Jun 2017 13:17:24 -0500 Message-Id: <1498587444-6952-1-git-send-email-tapandshah@hpe.com> X-Mailer: git-send-email 2.6.2.windows.1 Subject: [PATCH] ShellPkg: Update dh command to reflect correct driver field information X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2017 18:15:56 -0000 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 --- ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c | 3 ++- .../UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.uni | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c b/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c index 0bcee92..170a868 100644 --- a/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c +++ b/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c @@ -3,6 +3,7 @@ (C) Copyright 2014-2015 Hewlett-Packard Development Company, L.P.
Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.
+ (C) Copyright 2017 Hewlett Packard Enterprise Development LP
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -664,7 +665,7 @@ DisplayDriverModelHandle ( -1, -1, NULL, - STRING_TOKEN (STR_DH_OUTPUT_DRIVER6B), + STRING_TOKEN (STR_DH_OUTPUT_DRIVER7), gShellDriver1HiiHandle, ConvertHandleToHandleIndex(Handle), DriverName!=NULL?DriverName:L"" diff --git a/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.uni b/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.uni index 52156d5..7a3e61e 100644 --- a/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.uni +++ b/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.uni @@ -1,6 +1,6 @@ // /** // -// (C) Copyright 2016 Hewlett Packard Enterprise Development LP
+// (C) Copyright 2016-2017 Hewlett Packard Enterprise Development LP
// (C) Copyright 2012-2015 Hewlett-Packard Development Company, L.P.
// Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.
// This program and the accompanying materials @@ -120,7 +120,7 @@ #string STR_DH_OUTPUT_DRIVER5B #language en-US " Parent[%H%02x%N] : %B%s%N\r\n" #string STR_DH_OUTPUT_DRIVER6 #language en-US " Child Controllers : %B%s%N\r\n" #string STR_DH_OUTPUT_DRIVER6B #language en-US " Child[%H%02x%N] : %B%s%N\r\n" -#string STR_DH_OUTPUT_DRIVER7 #language en-US " Driver Name : %B%s%N\r\n" +#string STR_DH_OUTPUT_DRIVER7 #language en-US " Driver Name [%H%02x%N] : %B%s%N\r\n" #string STR_DH_OUTPUT_DRIVER7B #language en-US " Driver Image Name : %B%s%N\r\n" #string STR_DH_OUTPUT_DRIVER8 #language en-US " Driver Version : %B%08x%N\r\n" " Driver Type : %B%s%N\r\n" -- 2.6.2.windows.1