Date: Sat, 6 Mar 1999 08:41:00 -0800 (PST) From: John Polstra <jdp@polstra.com> To: green@unixhelp.org Cc: current@freebsd.org Subject: Re: callout changes nit Message-ID: <199903061641.IAA44512@vashon.polstra.com> In-Reply-To: <Pine.BSF.4.05.9903061057250.11342-100000@janus.syracuse.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.BSF.4.05.9903061057250.11342-100000@janus.syracuse.net>,
Brian Feldman <green@unixhelp.org> 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?
Agreed. I think it should be "sizeof *c".
John
--
John Polstra jdp@polstra.com
John D. Polstra & Co., Inc. Seattle, Washington USA
"Nobody ever went broke underestimating the taste of the American public."
-- H. L. Mencken
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903061641.IAA44512>
