diff options
author | Gary Ching-Pang Lin <glin@suse.com> | 2013-07-16 14:40:57 +0000 |
---|---|---|
committer | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-07-16 14:40:57 +0000 |
commit | 73c5c619045dc573aaad995f531314e102079c9f (patch) | |
tree | 075ea28bb717ad194e268712bd5caf4397154dc4 /ShellPkg | |
parent | 6e84b4df30007c7e5e49b7bc7248933750af8a66 (diff) | |
download | edk2-platforms-73c5c619045dc573aaad995f531314e102079c9f.tar.xz |
ShellPkg: Update error to be SHELL_STATUS and not EFI_STATUS.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Ching-Pang Lin <glin@suse.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14475 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg')
-rw-r--r-- | ShellPkg/Library/UefiShellLevel2CommandsLib/Rm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/Rm.c b/ShellPkg/Library/UefiShellLevel2CommandsLib/Rm.c index e4f4166b14..dbf980a60c 100644 --- a/ShellPkg/Library/UefiShellLevel2CommandsLib/Rm.c +++ b/ShellPkg/Library/UefiShellLevel2CommandsLib/Rm.c @@ -127,7 +127,7 @@ CascadeDelete( //
TempName = AllocateZeroPool(StrSize(Node->FullName) + StrSize(Node2->FullName));
if (TempName == NULL) {
- ShellStatus = EFI_OUT_OF_RESOURCES;
+ ShellStatus = SHELL_OUT_OF_RESOURCES;
} else {
StrCpy(TempName, Node->FullName);
TempName[StrStr(TempName, L":")+1-TempName] = CHAR_NULL;
|