From owner-freebsd-current Sat Mar 6 18:39:21 1999 Delivered-To: freebsd-current@freebsd.org Received: from pm06sm.pmm.cw.net (pm06sm.pmm.cw.net [208.159.98.155]) by hub.freebsd.org (Postfix) with ESMTP id 7366C14BFF for ; Sat, 6 Mar 1999 18:39:20 -0800 (PST) (envelope-from lopez@mv.mv.com) Received: from mv.mv.com (usr42-dialup28.mix2.Boston.cw.net [166.62.76.92]) by PM06SM.PMM.CW.NET (PMDF V5.2-29 #35324) with ESMTP id <0F8700KROE09O8@PM06SM.PMM.CW.NET> for current@FreeBSD.ORG; Sun, 7 Mar 1999 02:38:55 +0000 (GMT) Date: Sat, 06 Mar 1999 21:38:37 -0500 From: "Lawrence D. Lopez" Subject: Re: callout changes nit To: Brian Feldman Cc: current@FreeBSD.ORG Message-id: <36E1E6AD.807C5DC7@mv.mv.com> MIME-version: 1.0 X-Mailer: Mozilla 4.05 [en] (X11; U; Linux 2.0.30 i586) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ah, bzero(c, sizeof *c); I suppose. Brian Feldman wrote: > > I make a habit of checking out any interesting kernel changes in full, and one > thing I found in the recent diff by Mr. Wollman for kern_timeout.c is: > > +void > +callout_init(c) > + struct callout *c; > +{ > + bzero(c, sizeof c); > } > > That doesn't look correct, does it? > > Brian Feldman _ __ ___ ___ ___ > green@unixhelp.org _ __ ___ | _ ) __| \ > http://www.freebsd.org/ _ __ ___ ____ | _ \__ \ |) | > FreeBSD: The Power to Serve! _ __ ___ ____ _____ |___/___/___/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message