ShellPkg: Correct a parameter's name
The parameter FilePath of ShellOpenFileByName defined in ShellLib.h is incorrect. It should be FileName. https://bugzilla.tianocore.org/show_bug.cgi?id=1221 Cc: Jaben Carsey <jaben.carsey@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
This commit is contained in:
committed by
Liming Gao
parent
792396bec9
commit
43b1be74a8
@ -161,7 +161,7 @@ ShellOpenFileByDevicePath(
|
|||||||
otherwise, the Filehandle is NULL. Attributes is valid only for
|
otherwise, the Filehandle is NULL. Attributes is valid only for
|
||||||
EFI_FILE_MODE_CREATE.
|
EFI_FILE_MODE_CREATE.
|
||||||
|
|
||||||
@param[in] FilePath The pointer to file name.
|
@param[in] FileName The pointer to file name.
|
||||||
@param[out] FileHandle The pointer to the file handle.
|
@param[out] FileHandle The pointer to the file handle.
|
||||||
@param[in] OpenMode The mode to open the file with.
|
@param[in] OpenMode The mode to open the file with.
|
||||||
@param[in] Attributes The file's file attributes.
|
@param[in] Attributes The file's file attributes.
|
||||||
@ -186,7 +186,7 @@ ShellOpenFileByDevicePath(
|
|||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
ShellOpenFileByName(
|
ShellOpenFileByName(
|
||||||
IN CONST CHAR16 *FilePath,
|
IN CONST CHAR16 *FileName,
|
||||||
OUT SHELL_FILE_HANDLE *FileHandle,
|
OUT SHELL_FILE_HANDLE *FileHandle,
|
||||||
IN UINT64 OpenMode,
|
IN UINT64 OpenMode,
|
||||||
IN UINT64 Attributes
|
IN UINT64 Attributes
|
||||||
|
Reference in New Issue
Block a user