Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Mar 1999 21:38:37 -0500
From:      "Lawrence D. Lopez" <lopez@mv.mv.com>
To:        Brian Feldman <green@unixhelp.org>
Cc:        current@FreeBSD.ORG
Subject:   Re: callout changes nit
Message-ID:  <36E1E6AD.807C5DC7@mv.mv.com>
References:  <Pine.BSF.4.05.9903061057250.11342-100000@janus.syracuse.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36E1E6AD.807C5DC7>