From 7347e1c6ab0516300889b6c4bd9b7a607200c227 Mon Sep 17 00:00:00 2001 From: Garrett Wollman Date: Sat, 6 Mar 1999 22:27:02 +0000 Subject: [PATCH] Fix callout_init(). This didn't have any practical effect since it was only used to initialize the static timeouts, which unconditionally clears the only bits which could have caused problems. --- sys/kern/kern_timeout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c index 638b72742451..c7d44016f1cf 100644 --- a/sys/kern/kern_timeout.c +++ b/sys/kern/kern_timeout.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * From: @(#)kern_clock.c 8.5 (Berkeley) 1/21/94 - * $Id: kern_timeout.c,v 1.55 1998/05/17 20:08:04 bde Exp $ + * $Id: kern_timeout.c,v 1.56 1999/03/06 04:46:19 wollman Exp $ */ #include @@ -287,7 +287,7 @@ void callout_init(c) struct callout *c; { - bzero(c, sizeof c); + bzero(c, sizeof *c); } #ifdef APM_FIXUP_CALLTODO