From ecc123364e6a7526722a84f1da31f02d19881809 Mon Sep 17 00:00:00 2001 From: des Date: Tue, 15 Dec 1998 17:38:33 +0000 Subject: Wrap two macros into do { ... } while (0), and fix the way they're used in the kernel. Reviewed by: bde --- sys/kern/vfs_aio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/vfs_aio.c') 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); -- cgit v1.1