diff options
author | wollman <wollman@FreeBSD.org> | 1999-03-06 22:27:02 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1999-03-06 22:27:02 +0000 |
commit | 209b9e7c265bca5cdd9a9ca9418b0d5fef41886c (patch) | |
tree | 5148ad26461f5526cd37526ab483a7484659e149 /sys | |
parent | 5a72bcc3c3e4b0d18f7d9333008e13043c23cdc5 (diff) | |
download | FreeBSD-src-209b9e7c265bca5cdd9a9ca9418b0d5fef41886c.zip FreeBSD-src-209b9e7c265bca5cdd9a9ca9418b0d5fef41886c.tar.gz |
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.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_timeout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c index 638b727..c7d4401 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 <sys/param.h> @@ -287,7 +287,7 @@ void callout_init(c) struct callout *c; { - bzero(c, sizeof c); + bzero(c, sizeof *c); } #ifdef APM_FIXUP_CALLTODO |