Skip to content

Commit

Permalink
kernel: fixed a bug in the loader that resulted in binaries not being…
Browse files Browse the repository at this point in the history
… closed
  • Loading branch information
Zeal8bit committed Sep 18, 2024
1 parent 4fa1abe commit eb2fcb4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kernel/loader.asm
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,9 @@ _zos_load_file_checked:
ld c, l
ld h, d
ld de, KERN_MMU_PAGE2_VIRT_ADDR
push hl
call zos_vfs_read_internal
pop hl
or a
; On error, close the opened file and return
jp nz, _zos_load_failed_h_dev
Expand Down

0 comments on commit eb2fcb4

Please sign in to comment.