diff options
author | Marvin Borner | 2020-04-15 21:17:41 +0200 |
---|---|---|
committer | Marvin Borner | 2020-04-15 21:17:41 +0200 |
commit | e07894d21a0101b10ee6ad851773b725cbb9150d (patch) | |
tree | 75631b318a9403395fbb3b40abdade8a475cd30b /src/kernel/fs/elf.c | |
parent | aa3d1b4689e6dadd982fe1e5ca8af69ca39c617d (diff) |
Used macro magic to implement function-based logs
Diffstat (limited to 'src/kernel/fs/elf.c')
-rw-r--r-- | src/kernel/fs/elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/fs/elf.c b/src/kernel/fs/elf.c index 9af3636..b6d90c9 100644 --- a/src/kernel/fs/elf.c +++ b/src/kernel/fs/elf.c @@ -14,7 +14,7 @@ int is_elf(char *elf_data) elf_header_t *header = (elf_header_t *)elf_data; if (header->ident[0] == 0x7f && header->ident[1] == 'E' && header->ident[2] == 'L' && header->ident[3] == 'F') { - serial_printf("Buffer is valid ELF file!"); + log("Buffer is valid ELF file!"); return 1; } return 0; |