Subject: Re: garbage in `ru_utime.tv_sec' field
To: None <port-sparc@NetBSD.ORG>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: port-sparc
Date: 04/20/1995 09:51:56
ram@sundg1.jinr.dubna.su (Anatol Raportirenko) writes:
>  return((long)((rusage.ru_utime.tv_sec  - rusage0.ru_utime.tv_sec) * 1000 +
>		(rusage.ru_utime.tv_usec - rusage0.ru_utime.tv_usec) / 1000));

====================================================================^^^^^^^^

Get rid of the "/ 1000".

You don't need to multiply one element by 1000 *and* divide the
other one by 1000.

-wolfgang

-- 
Wolfgang Rupprecht <wolfgang@wsrcc.com>  <http://www.wsrcc.com/>