summaryrefslogtreecommitdiff
path: root/ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c')
-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);