Use getmicrotime insted of microtime, we only use the second part.

This commit is contained in:
Poul-Henning Kamp 1998-04-06 11:37:17 +00:00
parent 2eeb0e2ea0
commit 9729e74321
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35061

View File

@ -45,7 +45,7 @@
*
* @(#)sun_misc.c 8.1 (Berkeley) 6/18/93
*
* $Id: ibcs2_misc.c,v 1.25 1997/12/05 19:55:36 bde Exp $
* $Id: ibcs2_misc.c,v 1.26 1998/04/06 08:25:58 phk Exp $
*/
/*
@ -695,7 +695,7 @@ ibcs2_time(p, uap)
{
struct timeval tv;
microtime(&tv);
getmicrotime(&tv);
p->p_retval[0] = tv.tv_sec;
if (SCARG(uap, tp))
return copyout((caddr_t)&tv.tv_sec, (caddr_t)SCARG(uap, tp),