mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[FREELDR] LaunchSecondStageLoader(): Always return ESUCCESS if rosload.exe started correctly...
instead of returning an erroneous value, since the rosload.exe entry point `RunLoader()` doesn't return any value. This allows exiting from rosload.exe and NOT having the `LaunchSecondStageLoader()` returning 0, for example, which would then be interpreted as an error condition and showing the "Unable to load second stage loader." error box.
This commit is contained in:
@@ -85,7 +85,8 @@ LaunchSecondStageLoader(VOID)
|
||||
/* Call the entrypoint */
|
||||
printf("Launching rosload.exe...\n");
|
||||
EntryPoint = VaToPa(RosloadDTE->EntryPoint);
|
||||
return (*EntryPoint)();
|
||||
(*EntryPoint)();
|
||||
return ESUCCESS;
|
||||
}
|
||||
|
||||
VOID __cdecl BootMain(IN PCCH CmdLine)
|
||||
|
||||
Reference in New Issue
Block a user