summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorMaxime Henrion <mux@FreeBSD.org>2002-07-03 08:52:37 +0000
committerMaxime Henrion <mux@FreeBSD.org>2002-07-03 08:52:37 +0000
commit563af2ec15e03f47f8db02835c9397bca7c57968 (patch)
tree90ee7461bb9301698ec409ca127861d556f6ff73 /sys/kern
parent00c3b17e1e6219d44e833f9166cba05a2b4e5e2c (diff)
Notes
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/init_main.c2
-rw-r--r--sys/kern/vfs_mount.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 06cc8d831ebb..da1b843845f8 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -503,7 +503,7 @@ start_init(void *dummy)
td = curthread;
p = td->td_proc;
- vfs_mountroot(NULL);
+ vfs_mountroot();
/* Get the vnode for '/'. Set p->p_fd->fd_cdir to reference it. */
if (VFS_ROOT(TAILQ_FIRST(&mountlist), &rootvnode))
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index 404939bee4bd..ce50ef586a9a 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -1219,7 +1219,7 @@ dounmount(mp, flags, td)
* Find and mount the root filesystem
*/
void
-vfs_mountroot(void *foo __unused)
+vfs_mountroot(void)
{
char *cp;
int i, error;