Skip to content

Commit

Permalink
Update elf.c
Browse files Browse the repository at this point in the history
  • Loading branch information
israpps committed Feb 28, 2024
1 parent f41a676 commit 8f38a09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/elf.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ typedef struct
int checkELFheader(char *path, int type)
{
u16 MAGICS[2] = {ELF_HEADER_ID_EE, ELF_HEADER_ID_IRX};
DPRINTF("Checking for header type %d\n", type);
elf_header_t elf_head;
u8 *boot_elf = (u8 *)&elf_head;
elf_header_t *eh = (elf_header_t *)boot_elf;
Expand Down

0 comments on commit 8f38a09

Please sign in to comment.