diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1997-03-22 06:53:45 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1997-03-22 06:53:45 +0000 |
| commit | 3c816944262d947cc8e5ffa72cc27abf177c1129 (patch) | |
| tree | 6085c57eec190abf9e7e3278bc513d9419f1c977 /sys/kern/init_main.c | |
| parent | f90e4276f212c044404d7322258c4d4649b02037 (diff) | |
Notes
Diffstat (limited to 'sys/kern/init_main.c')
| -rw-r--r-- | sys/kern/init_main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 57fa5ddbc54c..f108547a57c4 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -39,7 +39,7 @@ * SUCH DAMAGE. * * @(#)init_main.c 8.9 (Berkeley) 1/21/94 - * $Id: init_main.c,v 1.57 1997/02/22 09:38:59 peter Exp $ + * $Id: init_main.c,v 1.58 1997/03/01 17:49:09 wosch Exp $ */ #include "opt_rlimit.h" @@ -413,7 +413,8 @@ proc0_post(dummy) * from the file system. Reset p->p_rtime as it may have been * munched in mi_switch() after the time got set. */ - proc0.p_stats->p_start = runtime = mono_time = boottime = time; + gettime(&boottime); + proc0.p_stats->p_start = runtime = mono_time = boottime; proc0.p_rtime.tv_sec = proc0.p_rtime.tv_usec = 0; /* |
