mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 03:49:02 +00:00
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.
This commit is contained in:
parent
619d1a30a1
commit
7347e1c6ab
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=44527
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user