Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 2385B1A9217 for ; Fri, 12 Feb 2021 19:48:29 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 54D4584D8A; Fri, 12 Feb 2021 19:48:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 8443185126 for ; Fri, 12 Feb 2021 19:48:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id PmXcGOyPE2SB for ; Fri, 12 Feb 2021 19:48:27 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 2031D84D8A for ; Fri, 12 Feb 2021 19:48:27 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 0C608FA95; Fri, 12 Feb 2021 19:48:27 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Fri, 12 Feb 2021 19:48:27 +0000 From: "Jared D. McNeill" Subject: CVS commit: src/sys/kern To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20210212194827.0C608FA95@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Jared D. McNeill" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: 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.