summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2006-11-07 19:07:33 +0000
committerjhb <jhb@FreeBSD.org>2006-11-07 19:07:33 +0000
commitf4782279b7cf92b6d32fc109acc82f9db76727e1 (patch)
treecc06c1f28b88e5646c1809f40b239afc7c3bc6ec
parent7b35dc71a30039dea921d88e338d3677bb6d87ad (diff)
downloadFreeBSD-src-f4782279b7cf92b6d32fc109acc82f9db76727e1.zip
FreeBSD-src-f4782279b7cf92b6d32fc109acc82f9db76727e1.tar.gz
Fix comment typo and function declaration.
-rw-r--r--sys/kern/vfs_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index d584606..2d9a9f8 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1716,7 +1716,7 @@ sched_sync(void)
}
mtx_unlock(&sync_mtx);
/*
- * Just sleep for a short period if time between
+ * Just sleep for a short period of time between
* iterations when shutting down to allow some I/O
* to happen.
*
@@ -1741,7 +1741,7 @@ sched_sync(void)
* normal turn time, otherwise it could take over the cpu.
*/
int
-speedup_syncer()
+speedup_syncer(void)
{
struct thread *td;
int ret = 0;
OpenPOWER on IntegriCloud