Received: by mail.netbsd.org (Postfix, from userid 605) id A61EC84DCC; Fri, 2 Apr 2021 07:17:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id D40BD84DCB for ; Fri, 2 Apr 2021 07:17:56 +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 nSvbeAY05Ee9 for ; Fri, 2 Apr 2021 07:17:56 +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 65DD784D86 for ; Fri, 2 Apr 2021 07:17:56 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 52873FA95; Fri, 2 Apr 2021 07:17:56 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Fri, 2 Apr 2021 07:17:56 +0000 From: "Nia Alarie" Subject: CVS commit: src/sbin/rndctl To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20210402071756.52873FA95@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Nia Alarie" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: nia Date: Fri Apr 2 07:17:56 UTC 2021 Modified Files: src/sbin/rndctl: rndctl.c Log Message: rndctl: make -l's "Flags" field reflect current reality don't print "legacy options" RND_FLAG_ESTIMATE_TIME and "RND_FLAG_ESTIMATE_VALUE" only print "estimate" if we have actually counted any bits from something, since it's no longer really possible to "enable estimation". ideally, there should also be a "samples" field so it's clear collected bits are not being counted. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sbin/rndctl/rndctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.