summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-27 11:07:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-27 11:07:31 +0000
commit781a3cde645f84e24802b8c3e39cc3ab26572c8c (patch)
tree2fbf427c6918305a0282cf3249de0973c7c6b623 /sys
parenta9a172b956ef54d6e53306404fc779794c1c1654 (diff)
sec can be a long
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_resource.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c
index 60a27f2a6e1..eb6b36f9bcd 100644
--- a/sys/kern/kern_resource.c
+++ b/sys/kern/kern_resource.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_resource.c,v 1.5 1996/07/02 09:23:19 deraadt Exp $ */
+/* $OpenBSD: kern_resource.c,v 1.6 1996/07/27 11:07:30 deraadt Exp $ */
/* $NetBSD: kern_resource.c,v 1.34.4.1 1996/06/13 23:31:14 jtc Exp $ */
/*-
@@ -334,8 +334,7 @@ calcru(p, up, sp, ip)
register struct timeval *ip;
{
register u_quad_t u, st, ut, it, tot;
- register u_long sec;
- register long usec;
+ register long sec, usec;
register int s;
struct timeval tv;