summaryrefslogtreecommitdiffhomepage
path: root/src/loader/elf.c
diff options
context:
space:
mode:
authorMarvin Borner2021-07-12 18:14:44 +0200
committerMarvin Borner2021-07-12 18:15:29 +0200
commit1b429c0fc28e5cd8b474ad5a1de1fa6f3d7c2e2a (patch)
tree593af3e3ec78795bb47553f492db07fb7e87e373 /src/loader/elf.c
parentd414d2f6f46bd425d727af5baae3e2658d6e1384 (diff)
Renamed files to match presentation
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);