]> git.proxmox.com Git - mirror_edk2.git/commitdiff
set filename with device path for load file devices.
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 26 Oct 2009 07:47:31 +0000 (07:47 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 26 Oct 2009 07:47:31 +0000 (07:47 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9370 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootOption.c

index 5fb764c297fdbe0b9057f3107028419cc87b4ace..72dcb0e15e2b6711b4da5457896d84d0c1667c4f 100644 (file)
@@ -5,7 +5,7 @@
 \r
   Boot option manipulation\r
 \r
-Copyright (c) 2004 - 2008, Intel Corporation. <BR>\r
+Copyright (c) 2004 - 2009, Intel Corporation. <BR>\r
 All rights reserved. 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
@@ -423,7 +423,8 @@ BOpt_FindFileSystem (
       FileContext->Handle           = LoadFileHandle[Index];\r
       FileContext->IsRoot           = TRUE;\r
 \r
-      FileContext->DevicePath = DevicePathFromHandle (FileContext->Handle);\r
+      FileContext->DevicePath       = DevicePathFromHandle (FileContext->Handle);\r
+      FileContext->FileName         = DevicePathToStr (FileContext->DevicePath);\r
 \r
       MenuEntry->HelpString     = DevicePathToStr (FileContext->DevicePath);\r
 \r