Use getmicrotime insted of microtime, we only use the second part.
This commit is contained in:
parent
ab5541db4c
commit
86ff9d1a6e
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user