summaryrefslogtreecommitdiffstats
path: root/boot/initrd.c
diff options
context:
space:
mode:
Diffstat (limited to 'boot/initrd.c')
-rw-r--r--boot/initrd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/boot/initrd.c b/boot/initrd.c
index f9bf47e..84636c3 100644
--- a/boot/initrd.c
+++ b/boot/initrd.c
@@ -7,6 +7,7 @@
#include "lib/string.h"
#include "hal/obj.h"
#include "hal/memory.h"
+#include "sys/objdir.h"
extern uintptr_t _initrd_module;
@@ -71,7 +72,7 @@ void initrd_setup(void)
{
kprintf("Loading initrd from bootloader:\n");
{
- jove_owned_obj_t *initrd_objdir_obj = objdir_getlocal(_rootdir_obj, ROOTDIR_INITRD_I);
+ jove_owned_obj_t *initrd_objdir_obj = objdir_getlocal(_rootdir_obj, INIT_ROOTDIR_INITRD_I);
obj_settype(initrd_objdir_obj, JOVE_OBJ_OBJDIR);
obj_setvalue(initrd_objdir_obj, (uintmax_t)&s_initrd_objdir);