From ab0b75d3ba576a953316dd5485df70ffddb130d4 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 25 May 2020 15:24:33 +0000 Subject: Pass bootblock indicator RB_GOODRANDOM to random_start(). Future work will frantically compensate. ok kettenis --- sys/kern/init_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/init_main.c') 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 -- cgit v1.2.3