diff options
| author | 2001-06-23 06:04:33 +0000 | |
|---|---|---|
| committer | 2001-06-23 06:04:33 +0000 | |
| commit | bfc56433b6d56975e8eaf8943c4c640e4b98f81d (patch) | |
| tree | 0a112bff71f1861c7a2ef2cabcf305db9911d6fe /sys/kern/init_main.c | |
| parent | Keep stats on TCP/UDP hardware checksumming. (diff) | |
| download | wireguard-openbsd-bfc56433b6d56975e8eaf8943c4c640e4b98f81d.tar.xz wireguard-openbsd-bfc56433b6d56975e8eaf8943c4c640e4b98f81d.zip | |
Add pipe_init, call it from main, move the pool initialization into it.
Diffstat (limited to 'sys/kern/init_main.c')
| -rw-r--r-- | sys/kern/init_main.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index f30307b5a1d..3635e8b94fb 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init_main.c,v 1.66 2001/06/22 14:14:08 deraadt Exp $ */ +/* $OpenBSD: init_main.c,v 1.67 2001/06/23 06:04:34 art Exp $ */ /* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */ /* @@ -78,6 +78,7 @@ #endif #include <sys/domain.h> #include <sys/mbuf.h> +#include <sys/pipe.h> #include <sys/syscall.h> #include <sys/syscallargs.h> @@ -245,6 +246,11 @@ main(framep) filedesc_init(); /* + * Initialize pipes. + */ + pipe_init(); + + /* * Create process 0 (the swapper). */ LIST_INSERT_HEAD(&allproc, p, p_list); |
