summaryrefslogtreecommitdiff
path: root/ShellPkg/Include/Library
diff options
context:
space:
mode:
Diffstat (limited to 'ShellPkg/Include/Library')
-rw-r--r--ShellPkg/Include/Library/FileHandleLib.h4
-rw-r--r--ShellPkg/Include/Library/ShellLib.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/ShellPkg/Include/Library/FileHandleLib.h b/ShellPkg/Include/Library/FileHandleLib.h
index c03a112cec..1307927fae 100644
--- a/ShellPkg/Include/Library/FileHandleLib.h
+++ b/ShellPkg/Include/Library/FileHandleLib.h
@@ -349,8 +349,8 @@ FileHandleGetFileName (
Function to read a single line (up to but not including the \n) from a file.
@param[in] Handle FileHandle to read from
- @param[in][out] Buffer pointer to buffer to read into
- @param[in][out] Size pointer to number of bytes in buffer
+ @param[in,out] Buffer pointer to buffer to read into
+ @param[in,out] Size pointer to number of bytes in buffer
@param[in[ Truncate if TRUE then allows for truncation of the line to fit.
if FALSE will reset the position to the begining of the
line if the buffer is not large enough.
diff --git a/ShellPkg/Include/Library/ShellLib.h b/ShellPkg/Include/Library/ShellLib.h
index 37c85e94dc..6bf4e6ec9b 100644
--- a/ShellPkg/Include/Library/ShellLib.h
+++ b/ShellPkg/Include/Library/ShellLib.h
@@ -135,7 +135,7 @@ ShellOpenFileByDevicePath(
EFI_STATUS
EFIAPI
ShellOpenFileByName(
- IN CHAR16 *FilePath,
+ IN CONST CHAR16 *FilePath,
OUT EFI_FILE_HANDLE *FileHandle,
IN UINT64 OpenMode,
IN UINT64 Attributes
@@ -171,7 +171,7 @@ ShellOpenFileByName(
EFI_STATUS
EFIAPI
ShellCreateDirectory(
- IN CHAR16 *DirectoryName,
+ IN CONST CHAR16 *DirectoryName,
OUT EFI_FILE_HANDLE *FileHandle
);