summaryrefslogtreecommitdiffstats
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1999-05-11 10:08:10 +0000
committerjb <jb@FreeBSD.org>1999-05-11 10:08:10 +0000
commit154417badff1f6ef5015ead5d878d7775784c27e (patch)
treef685d2d82ac04434b153df50e06d28f0f70f50a2 /sys/kern/init_main.c
parent31933bda1f29f7810a6339cd88dd4c5842b0c41c (diff)
downloadFreeBSD-src-154417badff1f6ef5015ead5d878d7775784c27e.zip
FreeBSD-src-154417badff1f6ef5015ead5d878d7775784c27e.tar.gz
Use colons instead of semi-colons to behave like UNIX instead of DOS.
Suggested by: bde
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 2e1340e..d7273764 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -39,7 +39,7 @@
* SUCH DAMAGE.
*
* @(#)init_main.c 8.9 (Berkeley) 1/21/94
- * $Id: init_main.c,v 1.120 1999/05/09 19:01:44 peter Exp $
+ * $Id: init_main.c,v 1.121 1999/05/09 20:42:45 peter Exp $
*/
#include "opt_devfs.h"
@@ -583,7 +583,7 @@ static char init_path[MAXPATHLEN] =
#ifdef INIT_PATH
__XSTRING(INIT_PATH);
#else
- "/sbin/init;/sbin/oinit;/sbin/init.bak;/stand/sysinstall";
+ "/sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall";
#endif
SYSCTL_STRING(_kern, OID_AUTO, init_path, CTLFLAG_RD, init_path, 0, "");
@@ -619,11 +619,11 @@ start_init(p)
}
for (path = init_path; *path != '\0'; path = next) {
- while (*path == ';')
+ while (*path == ':')
path++;
if (*path == '\0')
break;
- for (next = path; *next != '\0' && *next != ';'; next++)
+ for (next = path; *next != '\0' && *next != ':'; next++)
/* nothing */ ;
if (bootverbose)
printf("start_init: trying %.*s\n", (int)(next - path),
OpenPOWER on IntegriCloud