Fix mount call for devfs.

Submitted by:	bde
This commit is contained in:
Poul-Henning Kamp 1997-03-30 09:22:41 +00:00
parent 015056ae61
commit a6534afb2a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24408

View File

@ -248,9 +248,8 @@ main(argc, argv)
if (optind != argc)
warning("ignoring excess arguments");
/* Mount devfs on /dev */
if (devfs) {
mount(MOUNT_DEVFS, "/dev", MNT_NOEXEC|MNT_RDONLY, 0);
mount("devfs", "/dev", MNT_NOEXEC|MNT_RDONLY, 0);
}
/*