X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ShellPkg%2FLibrary%2FUefiShellCEntryLib%2FUefiShellCEntryLib.c;h=ce41166573eb6adad0168e8cc34ff40a07145b99;hp=19ade44563b9aa4930a29be00a5084cedf238fc8;hb=92fbbb5d09d52f72801756b2c95d90a137fadb90;hpb=38d4998ad494c0e5a75e0253abd7b93811d8b1aa 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);