summaryrefslogtreecommitdiff
path: root/ShellPkg/Library
diff options
context:
space:
mode:
authorjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-17 16:39:35 +0000
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-17 16:39:35 +0000
commit92fbbb5d09d52f72801756b2c95d90a137fadb90 (patch)
treea16576ea4d932aa3f450c13c243901b50001f9b9 /ShellPkg/Library
parent38d4998ad494c0e5a75e0253abd7b93811d8b1aa (diff)
downloadedk2-platforms-92fbbb5d09d52f72801756b2c95d90a137fadb90.tar.xz
fix swap of pointers
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8585 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Library')
-rw-r--r--ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c b/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c
index 19ade44563..ce41166573 100644
--- a/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c
+++ b/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c
@@ -68,8 +68,8 @@ ShellCEntryLib (
// use shell 2.0 interface
//
ReturnFromMain = ShellAppMain (
- EfiShellInterface->Argc,
- EfiShellInterface->Argv
+ EfiShellParametersProtocol->Argc,
+ EfiShellParametersProtocol->Argv
);
} else {
//
@@ -87,8 +87,8 @@ ShellCEntryLib (
// use shell 1.0 interface
//
ReturnFromMain = ShellAppMain (
- EfiShellParametersProtocol->Argc,
- EfiShellParametersProtocol->Argv
+ EfiShellInterface->Argc,
+ EfiShellInterface->Argv
);
} else {
ASSERT(FALSE);