summaryrefslogtreecommitdiffstats
path: root/ShellPkg/Library/UefiShellLevel3CommandsLib
diff options
context:
space:
mode:
authorjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-15 20:10:39 +0000
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-15 20:10:39 +0000
commitb6b22b132ada04696a0f7481a12169808c3e2b3e (patch)
treef376a7fe380a769274e4676c2b0be914e115511c /ShellPkg/Library/UefiShellLevel3CommandsLib
parenta0248b09366c096be88a2fbaaff071b28b5d4ca5 (diff)
downloadedk2-b6b22b132ada04696a0f7481a12169808c3e2b3e.tar.gz
edk2-b6b22b132ada04696a0f7481a12169808c3e2b3e.tar.bz2
edk2-b6b22b132ada04696a0f7481a12169808c3e2b3e.zip
ShellPkg: Eliminate loss of high bits in return value from exit command on 64 bit platform.
submitted-by: jcarsey reviewed-by: gookboy15a reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12356 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Library/UefiShellLevel3CommandsLib')
-rw-r--r--ShellPkg/Library/UefiShellLevel3CommandsLib/Pause.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellLevel3CommandsLib/Pause.c b/ShellPkg/Library/UefiShellLevel3CommandsLib/Pause.c
index d6ed793579..bedd591c0d 100644
--- a/ShellPkg/Library/UefiShellLevel3CommandsLib/Pause.c
+++ b/ShellPkg/Library/UefiShellLevel3CommandsLib/Pause.c
@@ -84,7 +84,7 @@ ShellCommandRunPause (
}
if (EFI_ERROR(Status) || Resp == NULL || *Resp == ShellPromptResponseQuit) {
- ShellCommandRegisterExit(TRUE);
+ ShellCommandRegisterExit(TRUE, 0);
ShellStatus = SHELL_ABORTED;
}