summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_mount.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-11-18 14:31:24 +0000
committerphk <phk@FreeBSD.org>2004-11-18 14:31:24 +0000
commite424635fead28326215b8fe9170104a77977880d (patch)
tree7dabd3c4715496e506e32f60c07197148f20f2d0 /sys/kern/vfs_mount.c
parent604b588fafea8e2d4057810842e18cc8c9943775 (diff)
downloadFreeBSD-src-e424635fead28326215b8fe9170104a77977880d.zip
FreeBSD-src-e424635fead28326215b8fe9170104a77977880d.tar.gz
Pass path to filesystem when mounting root
Diffstat (limited to 'sys/kern/vfs_mount.c')
-rw-r--r--sys/kern/vfs_mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index 1638660..25fe589 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -1336,7 +1336,7 @@ vfs_mountroot_try(const char *mountfrom)
printf("setrootbyname failed\n");
}
- error = VFS_OMOUNT(mp, NULL, NULL, curthread);
+ error = VFS_OMOUNT(mp, path, NULL, curthread);
done:
if (vfsname != NULL)
OpenPOWER on IntegriCloud