summaryrefslogtreecommitdiffstats
path: root/boot/initrd.c
diff options
context:
space:
mode:
Diffstat (limited to 'boot/initrd.c')
-rw-r--r--boot/initrd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/initrd.c b/boot/initrd.c
index 84636c3..e998c08 100644
--- a/boot/initrd.c
+++ b/boot/initrd.c
@@ -48,7 +48,7 @@ initrd_seek(jove_owned_obj_t *objdir, const char *path)
if(obj_gettype(objdir) != JOVE_OBJ_OBJDIR) {
reterr(EBADOBJ);
}
- for(size_t i = 0; i < JOVE_OBJDIR_ENTRIES; i++) {
+ for(size_t i = 0; i < OBJDIR_ENTRIES; i++) {
jove_owned_obj_t *file_obj = objdir_getlocal(objdir, i);
if(obj_gettype(file_obj) != JOVE_OBJ_INITRD_FILE) {
goto loop_continue;