summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-03-30 09:22:41 +0000
committerphk <phk@FreeBSD.org>1997-03-30 09:22:41 +0000
commit85568f7654c9c84c7dd4e9184251fa299b2a9598 (patch)
tree3c48fc1d0542a33e507cff0016247674e6de5dc8 /sbin
parent8a36e4bbb49416495dfacdc5329201cf46774d25 (diff)
downloadFreeBSD-src-85568f7654c9c84c7dd4e9184251fa299b2a9598.zip
FreeBSD-src-85568f7654c9c84c7dd4e9184251fa299b2a9598.tar.gz
Fix mount call for devfs.
Submitted by: bde
Diffstat (limited to 'sbin')
-rw-r--r--sbin/init/init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/init/init.c b/sbin/init/init.c
index d5695c2..e0ffcf8 100644
--- a/sbin/init/init.c
+++ b/sbin/init/init.c
@@ -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);
}
/*
OpenPOWER on IntegriCloud