Module Name:    src
Committed By:   riastradh
Date:           Thu Jan 21 17:33:55 UTC 2021

Modified Files:
        src/sys/kern: kern_entropy.c

Log Message:
entropy: Reduce `no seed from bootloader' message to debug level.

This does not necessarily indicate a problem -- only x86 and arm pass
a seed from the bootloader anyway -- so it makes for an always-on
warning on some platforms, including all rump kernels, which is not
helpful.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/kern/kern_entropy.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/kern_entropy.c
diff -u src/sys/kern/kern_entropy.c:1.28 src/sys/kern/kern_entropy.c:1.29
--- src/sys/kern/kern_entropy.c:1.28	Sat Jan 16 02:21:26 2021
+++ src/sys/kern/kern_entropy.c	Thu Jan 21 17:33:55 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: kern_entropy.c,v 1.28 2021/01/16 02:21:26 riastradh Exp $	*/
+/*	$NetBSD: kern_entropy.c,v 1.29 2021/01/21 17:33:55 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -75,7 +75,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_entropy.c,v 1.28 2021/01/16 02:21:26 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_entropy.c,v 1.29 2021/01/21 17:33:55 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -378,7 +378,7 @@ entropy_init(void)
 
 	/* Note if the bootloader didn't provide a seed.  */
 	if (!E->seeded)
-		printf("entropy: no seed from bootloader\n");
+		aprint_debug("entropy: no seed from bootloader\n");
 
 	/* Allocate the per-CPU records for all early entropy sources.  */
 	LIST_FOREACH(rs, &E->sources, list)

Reply via email to