summaryrefslogtreecommitdiffhomepage
path: root/src/loader/elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/loader/elf.c')
-rw-r--r--src/loader/elf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/loader/elf.c b/src/loader/elf.c
index 3f5aea3..de596cf 100644
--- a/src/loader/elf.c
+++ b/src/loader/elf.c
@@ -1,11 +1,11 @@
// MIT License, Copyright (c) 2021 Marvin Borner
#include <elf.h>
-#include <pnc.h>
+#include <panic.h>
u32 elf_load(struct dev *dev, const char *path)
{
- assert(dev->type == DEV_DISK);
+ assert(dev->type == DEVICE_DISK);
struct elf_header header = { 0 };
s32 rd = dev->p.disk.fs.read(path, &header, 0, sizeof(header), dev);