diff options
Diffstat (limited to 'sys/kern/kern_threads.c')
-rw-r--r-- | sys/kern/kern_threads.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_threads.c b/sys/kern/kern_threads.c index 57e8d96eb4f8..1121f09837d1 100644 --- a/sys/kern/kern_threads.c +++ b/sys/kern/kern_threads.c @@ -46,7 +46,7 @@ * in Germany will I accept domestic beer. This code may or may not work * and I certainly make no claims as to its fitness for *any* purpose. * - * $Id: kern_threads.c,v 1.9 1998/10/25 17:44:51 phk Exp $ + * $Id: kern_threads.c,v 1.7 1998/03/30 09:50:18 phk Exp $ */ #include <sys/param.h> @@ -71,7 +71,7 @@ thr_sleep(struct proc *p, struct thr_sleep_args *uap) { int sleepstart; struct timespec ts; struct timeval atv; - int error, timo; + int error, s, timo; timo = 0; if (uap->timeout != 0) { @@ -86,7 +86,7 @@ thr_sleep(struct proc *p, struct thr_sleep_args *uap) { p->p_wakeup = 0; return (EINVAL); } - TIMESPEC_TO_TIMEVAL(&atv, &ts); + TIMESPEC_TO_TIMEVAL(&atv, &ts) if (itimerfix(&atv)) { p->p_wakeup = 0; return (EINVAL); |