diff options
author | mux <mux@FreeBSD.org> | 2002-07-03 08:52:37 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2002-07-03 08:52:37 +0000 |
commit | d6e07ac29c3201492d93615c36351e1255c4eb73 (patch) | |
tree | 90ee7461bb9301698ec409ca127861d556f6ff73 /sys/kern | |
parent | b9183e530c000dc670273b3ea391d7207fc32bfc (diff) | |
download | FreeBSD-src-d6e07ac29c3201492d93615c36351e1255c4eb73.zip FreeBSD-src-d6e07ac29c3201492d93615c36351e1255c4eb73.tar.gz |
Remove an unused argument in vfs_mountroot().
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/init_main.c | 2 | ||||
-rw-r--r-- | sys/kern/vfs_mount.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 06cc8d8..da1b843 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 404939b..ce50ef5 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; |