Skip to content

Commit

Permalink
[FREELDR] Do not pass NULL into BootMain()
Browse files Browse the repository at this point in the history
  • Loading branch information
alula authored and DarkFire01 committed Oct 1, 2023
1 parent ca9efd4 commit 5641f43
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion boot/freeldr/freeldr/arch/uefi/uefildr.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ EfiEntry(
GlobalImageHandle = ImageHandle;
GlobalSystemTable = SystemTable;

BootMain(NULL);
BootMain("");

UNREACHABLE;
return 0;
Expand Down
1 change: 0 additions & 1 deletion boot/freeldr/freeldr/cmdline.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ CmdLineParse(IN PCSTR CmdLine)
CmdLineInfo.DefaultOs = NULL;
CmdLineInfo.TimeOut = -1;

if (!CmdLine) return;
/*
* Get debug string, in the following format:
* "debug=option1=XXX;option2=YYY;..."
Expand Down

0 comments on commit 5641f43

Please sign in to comment.