summaryrefslogtreecommitdiff
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
parent00c3b17e1e6219d44e833f9166cba05a2b4e5e2c (diff)
Notes
-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 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;
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index 43eb8473d515..0fc937567666 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);