summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-10-26 07:47:31 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-10-26 07:47:31 +0000
commit69533312bf9b7ea86981915a1e3728b26ddf1f5f (patch)
treecee9d0ff4d71ec425b902a08176dbe171f160f73 /IntelFrameworkModulePkg
parentf5006bd99ee51e51bd2ff8093eb9bc3e5927aa68 (diff)
downloadedk2-platforms-69533312bf9b7ea86981915a1e3728b26ddf1f5f.tar.xz
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
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r--IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootOption.c5
1 files 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. <BR>
+Copyright (c) 2004 - 2009, Intel Corporation. <BR>
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);