summaryrefslogtreecommitdiff
path: root/src/kernel/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/proc.c')
-rw-r--r--src/kernel/proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/proc.c b/src/kernel/proc.c
index f45ff2b..19b09a8 100644
--- a/src/kernel/proc.c
+++ b/src/kernel/proc.c
@@ -22,8 +22,8 @@ struct process *process_seed(void) {
process_first = proc;
- for (int i = 0; i < FD_MAX; i++)
- proc->fds[i].type = FD_EMPTY;
+ for (int i = 0; i < HANDLE_MAX; i++)
+ proc->handles[i].type = HANDLE_EMPTY;
// map the stack to the last page in memory
pagedir_map(proc->pages, ~PAGE_MASK, page_alloc(1), true, true);