From owner-cvs-all Thu Feb 20 19:48:40 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F3E337B401; Thu, 20 Feb 2003 19:48:37 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id C494B43FD7; Thu, 20 Feb 2003 19:48:35 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.7/8.12.7) with ESMTP id h1L3mTEJ010869; Fri, 21 Feb 2003 06:48:29 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.7/8.12.6/Submit) id h1L3mTkf010868; Fri, 21 Feb 2003 06:48:29 +0300 (MSK) (envelope-from ache) Date: Fri, 21 Feb 2003 06:48:28 +0300 From: "Andrey A. Chernov" To: Kirk McKusick Cc: Juli Mallett , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG, Nate Lawson , David Schultz , Poul-Henning Kamp Subject: Re: cvs commit: src/sbin/newfs mkfs.c src/sys/ufs/ffs ffs_alloc.c ... Message-ID: <20030221034828.GA10787@nagual.pp.ru> References: <200302210328.h1L3S9FL058578@beastie.mckusick.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200302210328.h1L3S9FL058578@beastie.mckusick.com> User-Agent: Mutt/1.5.1i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Feb 20, 2003 at 19:28:09 -0800, Kirk McKusick wrote: > ! } else { > time(&utime); > ! arc4random_stir(); > } There is no need to call arc4random_stir() by hand, it is called automatically in arc4random() when needed, see arc4random(3) -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message