]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg: Correct a parameter's name
authorShenglei Zhang <shenglei.zhang@intel.com>
Wed, 20 Feb 2019 06:09:56 +0000 (14:09 +0800)
committerLiming Gao <liming.gao@intel.com>
Tue, 19 Mar 2019 07:22:05 +0000 (15:22 +0800)
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>
ShellPkg/Include/Library/ShellLib.h

index 2ecc5ee0068b9e49f696c95309e4f50fd06b3ada..78bdcc8c53116ca65c3cae7651d6601b5d93cbef 100644 (file)
@@ -161,7 +161,7 @@ ShellOpenFileByDevicePath(
   otherwise, the Filehandle is NULL. Attributes is valid only for\r
   EFI_FILE_MODE_CREATE.\r
 \r
-  @param[in] FilePath           The pointer to file name.\r
+  @param[in] FileName           The pointer to file name.\r
   @param[out] FileHandle        The pointer to the file handle.\r
   @param[in] OpenMode           The mode to open the file with.\r
   @param[in] Attributes         The file's file attributes.\r
@@ -186,7 +186,7 @@ ShellOpenFileByDevicePath(
 EFI_STATUS\r
 EFIAPI\r
 ShellOpenFileByName(\r
-  IN CONST CHAR16               *FilePath,\r
+  IN CONST CHAR16               *FileName,\r
   OUT SHELL_FILE_HANDLE         *FileHandle,\r
   IN UINT64                     OpenMode,\r
   IN UINT64                     Attributes\r