diff options
Diffstat (limited to 'ShellPkg/Library')
-rw-r--r-- | ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.c | 8 |
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);
|