From: jcarsey Date: Wed, 17 Jun 2009 16:39:35 +0000 (+0000) Subject: fix swap of pointers X-Git-Tag: edk2-stable201903~17718 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=92fbbb5d09d52f72801756b2c95d90a137fadb90 fix swap of pointers git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8585 6f19259b-4bc3-4df7-8a09-765794883524 --- 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);