summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index a642f5a..3ac41f6 100644
--- a/proc.c
+++ b/proc.c
@@ -339,7 +339,8 @@ forkret(void)
// of a regular process (e.g., they call sleep), and thus cannot
// be run from main().
first = 0;
- initlog();
+ iinit(ROOTDEV);
+ initlog(ROOTDEV);
}
// Return to "caller", actually trapret (see allocproc).