From 1b429c0fc28e5cd8b474ad5a1de1fa6f3d7c2e2a Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 12 Jul 2021 18:14:44 +0200 Subject: Renamed files to match presentation --- src/loader/elf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/loader/elf.c') 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 -#include +#include 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); -- cgit v1.2.3