diff options
author | bde <bde@FreeBSD.org> | 1998-08-17 17:53:12 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-08-17 17:53:12 +0000 |
commit | a8d8e4f36af9d1f193de195e7a5243eda7c00718 (patch) | |
tree | 9f2fb76c86362b08dc70a00cfce70bf6c939c0f4 /sys/i386 | |
parent | faebf197e2d7de25dfa6b0a50d7ac5291470b4e6 (diff) | |
download | FreeBSD-src-a8d8e4f36af9d1f193de195e7a5243eda7c00718.zip FreeBSD-src-a8d8e4f36af9d1f193de195e7a5243eda7c00718.tar.gz |
Backed out previous commit. The seconds part of microtime() is
not the necessarily the same as the seconds part of getmicrotime()
yet, and anyway, we should have used `time_second' if we only wanted
a sloppy value for the seconds part. There is no point in making
ibcs2's time(2) more efficient than FreeBSD's time(3).
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/ibcs2/ibcs2_misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/ibcs2/ibcs2_misc.c b/sys/i386/ibcs2/ibcs2_misc.c index d7a67de..73081dd 100644 --- a/sys/i386/ibcs2/ibcs2_misc.c +++ b/sys/i386/ibcs2/ibcs2_misc.c @@ -45,7 +45,7 @@ * * @(#)sun_misc.c 8.1 (Berkeley) 6/18/93 * - * $Id: ibcs2_misc.c,v 1.26 1998/04/06 08:25:58 phk Exp $ + * $Id: ibcs2_misc.c,v 1.27 1998/04/06 11:37:17 phk Exp $ */ /* @@ -695,7 +695,7 @@ ibcs2_time(p, uap) { struct timeval tv; - getmicrotime(&tv); + microtime(&tv); p->p_retval[0] = tv.tv_sec; if (SCARG(uap, tp)) return copyout((caddr_t)&tv.tv_sec, (caddr_t)SCARG(uap, tp), |