NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/55458 CVS commit: src/sys/kern



The following reply was made to PR kern/55458; it has been noted by GNATS.

From: "Jared D. McNeill" <jmcneill%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/55458 CVS commit: src/sys/kern
Date: Fri, 12 Feb 2021 19:48:27 +0000

 Module Name:	src
 Committed By:	jmcneill
 Date:		Fri Feb 12 19:48:26 UTC 2021
 
 Modified Files:
 	src/sys/kern: kern_entropy.c
 
 Log Message:
 entropy: Only print consolidation warning of AB_DEBUG.
 
 The previous fix for PR kern/55458 changed printf to log(LOG_DEBUG, ...) with
 the intent of hiding the message unless 'boot -x'. But this did not actually
 suppress the message to console as log(LOG_DEBUG, ...) will print to console
 if syslogd is not running yet.
 
 So instead, just check for AB_DEBUG flag directly in boothowto, and only
 printf the message if it is set.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.29 -r1.30 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.
 


Home | Main Index | Thread Index | Old Index