summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2002-07-03 08:52:37 +0000
committermux <mux@FreeBSD.org>2002-07-03 08:52:37 +0000
commitd6e07ac29c3201492d93615c36351e1255c4eb73 (patch)
tree90ee7461bb9301698ec409ca127861d556f6ff73 /sys
parentb9183e530c000dc670273b3ea391d7207fc32bfc (diff)
downloadFreeBSD-src-d6e07ac29c3201492d93615c36351e1255c4eb73.zip
FreeBSD-src-d6e07ac29c3201492d93615c36351e1255c4eb73.tar.gz
Remove an unused argument in vfs_mountroot().
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/init_main.c2
-rw-r--r--sys/kern/vfs_mount.c2
-rw-r--r--sys/sys/mount.h2
3 files changed, 3 insertions, 3 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;
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index 43eb847..0fc9375 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -456,7 +456,7 @@ dev_t vfs_getrootfsid(struct mount *);
struct mount *vfs_getvfs(fsid_t *); /* return vfs given fsid */
int vfs_modevent(module_t, int, void *);
int vfs_mountedon(struct vnode *); /* is a vfs mounted on vp */
-void vfs_mountroot(void *); /* mount our root filesystem */
+void vfs_mountroot(void); /* mount our root filesystem */
int vfs_rootmountalloc(char *, char *, struct mount **);
void vfs_unbusy(struct mount *, struct thread *td);
void vfs_unmountall(void);
OpenPOWER on IntegriCloud