Skip to content

Commit

Permalink
Added missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
socram8888 committed May 24, 2021
1 parent 6939d97 commit 326379a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions loader/secondary.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ void try_boot_cd() {
int32_t exe_fd = FileOpen(bootfile, FILE_READ);
if (exe_fd <= 0) {
debug_write("Open error %x", GetLastError());
return;
}

read = FileRead(exe_fd, data_buffer, 2048);
Expand Down

0 comments on commit 326379a

Please sign in to comment.