diff options
author | phk <phk@FreeBSD.org> | 1998-04-04 18:56:54 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1998-04-04 18:56:54 +0000 |
commit | af4924fcc36b7a12e1cfab6e9620ce46654c4857 (patch) | |
tree | 8cd53db91b99dbf84f337e850225daef780689d3 /sys/compat | |
parent | 9736ec2fbf9e02ec93125f4e016a7aa251b6225a (diff) | |
download | FreeBSD-src-af4924fcc36b7a12e1cfab6e9620ce46654c4857.zip FreeBSD-src-af4924fcc36b7a12e1cfab6e9620ce46654c4857.tar.gz |
Use microruntime() rather than doing it by hand.
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_misc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 2ee3cb2..0a6277a 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_misc.c,v 1.34 1998/02/25 05:33:06 bde Exp $ + * $Id: linux_misc.c,v 1.35 1998/03/30 09:49:34 phk Exp $ */ #include <sys/param.h> @@ -694,8 +694,7 @@ linux_times(struct proc *p, struct linux_times_args *args) sizeof(struct linux_times_argv)))) return error; - microtime(&tv); - timevalsub(&tv, &boottime); + microruntime(&tv); p->p_retval[0] = (int)CONVTCK(tv); return 0; } |