summaryrefslogtreecommitdiffstats
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorart <art@openbsd.org>2000-01-28 19:45:03 +0000
committerart <art@openbsd.org>2000-01-28 19:45:03 +0000
commit011c8ed204c4a72b130497db1c4b063152ac8af4 (patch)
tree3bc8ef4112e248aa97f4b220b464a9762b82ec4f /sys/kern/init_main.c
parentChange Apache config tools to not assume certain files are executable, (diff)
downloadwireguard-openbsd-011c8ed204c4a72b130497db1c4b063152ac8af4.tar.xz
wireguard-openbsd-011c8ed204c4a72b130497db1c4b063152ac8af4.zip
Change fork1() from taking forktype and rforkflags, into a single flags
argument. Let sys_rfork build the arguments to fork1() and do the sanity checks itself.
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 051dc5e8ff1..4bf07b1ff1c 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.43 2000/01/01 19:27:18 deraadt Exp $ */
+/* $OpenBSD: init_main.c,v 1.44 2000/01/28 19:45:04 art Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -399,7 +399,7 @@ main(framep)
siginit(p);
/* Create process 1 (init(8)). */
- if (fork1(p, ISFORK, 0, NULL, 0, rval))
+ if (fork1(p, FORK_FORK, NULL, 0, rval))
panic("fork init");
#ifdef cpu_set_init_frame /* XXX should go away */
if (rval[1]) {