Pass path to filesystem when mounting root

This commit is contained in:
Poul-Henning Kamp 2004-11-18 14:31:24 +00:00
parent 215a9f9de5
commit 7cc9fb79db
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137863

View File

@ -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)