summaryrefslogtreecommitdiff
path: root/ShellPkg/Application/Shell/FileHandleWrappers.c
diff options
context:
space:
mode:
authorjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>2011-04-15 18:20:40 +0000
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>2011-04-15 18:20:40 +0000
commita49f6a2f7e0d0141519c136905ce70038573ce40 (patch)
tree638c8fdf8a2940c5a7eeb606fbc6372389ceafdf /ShellPkg/Application/Shell/FileHandleWrappers.c
parentf6ea51e5ac7195f550cdabacc088597d3f63b6e2 (diff)
downloadedk2-platforms-a49f6a2f7e0d0141519c136905ce70038573ce40.tar.xz
fix for word wrapping.
fix for SimpleTextInEx callbacks. remove an ASSERT. fix for -noconsolein parameter. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11544 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Application/Shell/FileHandleWrappers.c')
-rw-r--r--ShellPkg/Application/Shell/FileHandleWrappers.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ShellPkg/Application/Shell/FileHandleWrappers.c b/ShellPkg/Application/Shell/FileHandleWrappers.c
index b2163bebb9..3cadc41e0b 100644
--- a/ShellPkg/Application/Shell/FileHandleWrappers.c
+++ b/ShellPkg/Application/Shell/FileHandleWrappers.c
@@ -249,7 +249,7 @@ FileInterfaceStdErrRead(
File style interface for NUL file (Read).
@param[in] This Ignored.
- @param[in,out] BufferSize Ignored.
+ @param[in,out] BufferSize Poiner to 0 upon return.
@param[out] Buffer Ignored.
@retval EFI_SUCCESS Always.
@@ -262,6 +262,7 @@ FileInterfaceNulRead(
OUT VOID *Buffer
)
{
+ *BufferSize = 0;
return (EFI_SUCCESS);
}