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
This commit is contained in:
vanjeff 2009-10-26 07:47:31 +00:00
parent f5006bd99e
commit 69533312bf
1 changed files with 3 additions and 2 deletions

View File

@ -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);