summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_threads.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>1998-12-15 17:38:33 +0000
committerdes <des@FreeBSD.org>1998-12-15 17:38:33 +0000
commitecc123364e6a7526722a84f1da31f02d19881809 (patch)
treea9df5fc43f99bb4c66df32788ff05be437892fa6 /sys/kern/kern_threads.c
parent7c6a9a207833b1b036726d7660acfd3630bf64c2 (diff)
downloadFreeBSD-src-ecc123364e6a7526722a84f1da31f02d19881809.zip
FreeBSD-src-ecc123364e6a7526722a84f1da31f02d19881809.tar.gz
Wrap two macros into do { ... } while (0), and fix the way they're used
in the kernel. Reviewed by: bde
Diffstat (limited to 'sys/kern/kern_threads.c')
-rw-r--r--sys/kern/kern_threads.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_threads.c b/sys/kern/kern_threads.c
index e2c245e..57e8d96 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.8 1998/06/02 05:39:11 dyson Exp $
+ * $Id: kern_threads.c,v 1.9 1998/10/25 17:44:51 phk Exp $
*/
#include <sys/param.h>
@@ -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);
OpenPOWER on IntegriCloud