diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 1999-01-21 00:55:32 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 1999-01-21 00:55:32 +0000 |
commit | 76b5366091f76c9bc73570149ef5055648fc2c39 (patch) | |
tree | 590d020e0f2a5bea6e09d66d951a674443b21d67 /sys/kern/kern_threads.c | |
parent | 4b4d01da6f07f7754ff6a6e4f5223e9f0984d1a6 (diff) |
Notes
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); |