From 8064e5d71f40b86ef9c8c2edb2ee751fa0ffc3fb Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 7 Nov 2006 19:07:33 +0000 Subject: [PATCH] Fix comment typo and function declaration. --- sys/kern/vfs_subr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index d584606408a..2d9a9f8e993 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;