summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_aio.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/vfs_aio.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/vfs_aio.c')
-rw-r--r--sys/kern/vfs_aio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c
index 582eb96..c7c8aa9 100644
--- a/sys/kern/vfs_aio.c
+++ b/sys/kern/vfs_aio.c
@@ -13,7 +13,7 @@
* bad that happens because of using this software isn't the responsibility
* of the author. This software is distributed AS-IS.
*
- * $Id: vfs_aio.c,v 1.34 1998/10/25 17:44:52 phk Exp $
+ * $Id: vfs_aio.c,v 1.35 1998/11/27 01:14:21 tegge Exp $
*/
/*
@@ -1478,7 +1478,7 @@ aio_suspend(struct proc *p, struct aio_suspend_args *uap)
if (ts.tv_nsec < 0 || ts.tv_nsec >= 1000000000)
return (EINVAL);
- TIMESPEC_TO_TIMEVAL(&atv, &ts)
+ TIMESPEC_TO_TIMEVAL(&atv, &ts);
if (itimerfix(&atv))
return (EINVAL);
timo = tvtohz(&atv);
OpenPOWER on IntegriCloud