From 69533312bf9b7ea86981915a1e3728b26ddf1f5f Mon Sep 17 00:00:00 2001 From: vanjeff Date: Mon, 26 Oct 2009 07:47:31 +0000 Subject: [PATCH] set filename with device path for load file devices. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9370 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Universal/BdsDxe/BootMaint/BootOption.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootOption.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootOption.c index 5fb764c297..72dcb0e15e 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootOption.c +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootOption.c @@ -5,7 +5,7 @@ Boot option manipulation -Copyright (c) 2004 - 2008, Intel Corporation.
+Copyright (c) 2004 - 2009, Intel Corporation.
All rights reserved. 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 @@ -423,7 +423,8 @@ BOpt_FindFileSystem ( FileContext->Handle = LoadFileHandle[Index]; FileContext->IsRoot = TRUE; - FileContext->DevicePath = DevicePathFromHandle (FileContext->Handle); + FileContext->DevicePath = DevicePathFromHandle (FileContext->Handle); + FileContext->FileName = DevicePathToStr (FileContext->DevicePath); MenuEntry->HelpString = DevicePathToStr (FileContext->DevicePath); -- 2.39.2