summaryrefslogtreecommitdiff
path: root/sbin/init
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-12-09 09:35:55 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-12-09 09:35:55 +0000
commit1a37aa566b347fbb2d2196786e1e84a79ffea9d5 (patch)
treea816cae9543dbb9277a62d68a91416fb2fb33da3 /sbin/init
parent2961fc5ac412eec93a03d4badbbf4e01918d864a (diff)
downloadsrc-test2-1a37aa566b347fbb2d2196786e1e84a79ffea9d5.tar.gz
src-test2-1a37aa566b347fbb2d2196786e1e84a79ffea9d5.zip
Notes
Diffstat (limited to 'sbin/init')
-rw-r--r--sbin/init/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/init/init.c b/sbin/init/init.c
index 3bb51ae18091..7498608b388a 100644
--- a/sbin/init/init.c
+++ b/sbin/init/init.c
@@ -59,6 +59,7 @@ static const char rcsid[] =
#include <errno.h>
#include <fcntl.h>
#include <libutil.h>
+#include <paths.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
@@ -283,7 +284,7 @@ invalid:
warning("ignoring excess arguments");
if (devfs) {
- mount("devfs", "/dev", 0, 0);
+ mount("devfs", _PATH_DEV, 0, 0);
}
/*