summaryrefslogtreecommitdiffstats
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index b536215..ed76ff8 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -373,9 +373,10 @@ proc0_init(void *dummy __unused)
td = &thread0;
/*
- * Initialize magic number.
+ * Initialize magic number and osrel.
*/
p->p_magic = P_MAGIC;
+ p->p_osrel = osreldate;
/*
* Initialize thread and process structures.
OpenPOWER on IntegriCloud