diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2020-05-25 15:24:33 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2020-05-25 15:24:33 +0000 |
commit | ab0b75d3ba576a953316dd5485df70ffddb130d4 (patch) | |
tree | 6893c68a40ca26afc21a3cf68e8021d09a1b9e11 /sys/kern/init_main.c | |
parent | 499a5f03d1b552b1e9ff0a641794a4a6fc81cc00 (diff) |
Pass bootblock indicator RB_GOODRANDOM to random_start(). Future work
will frantically compensate.
ok kettenis
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 20b2749cf88..51db3b27e2f 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init_main.c,v 1.297 2020/03/13 09:25:21 mpi Exp $ */ +/* $OpenBSD: init_main.c,v 1.298 2020/05/25 15:24:30 deraadt Exp $ */ /* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */ /* @@ -234,7 +234,7 @@ main(void *framep) tty_init(); /* initialise tty's */ cpu_startup(); - random_start(); /* Start the flow */ + random_start(boothowto & RB_GOODRANDOM); /* Start the flow */ /* * Initialize mbuf's. Do this now because we might attempt to |