diff options
author | 1996-09-21 11:06:08 +0000 | |
---|---|---|
committer | 1996-09-21 11:06:08 +0000 | |
commit | 18770882b7796e244f61211fa8b296891a3cd0ea (patch) | |
tree | c11d21c81e9f5ec4b63580529cb2f48656347f9e /sys/kern/init_main.c | |
parent | standardize the dmesg output (diff) | |
download | wireguard-openbsd-18770882b7796e244f61211fa8b296891a3cd0ea.tar.xz wireguard-openbsd-18770882b7796e244f61211fa8b296891a3cd0ea.zip |
fix NFSSERVER w/o NFSCLIENT; netbsd pr#1780, cgd@netbsd (yes, a 10month
old PR and the fix is mostly unchanged).
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 723a08ffa27..1f0c73c5f91 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init_main.c,v 1.17 1996/09/04 22:35:27 niklas Exp $ */ +/* $OpenBSD: init_main.c,v 1.18 1996/09/21 11:06:08 deraadt Exp $ */ /* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */ /* @@ -90,6 +90,10 @@ #include <net/if.h> #include <net/raw_cb.h> +#if defined(NFSSERVER) || defined(NFSCLIENT) +extern void nfs_init __P((void)); +#endif + char copyright[] = "Copyright (c) 1982, 1986, 1989, 1991, 1993\n\tThe Regents of the University of California. All rights reserved.\n\n"; @@ -270,6 +274,9 @@ main(framep) vm_init_limits(p); /* Initialize the file systems. */ +#if defined(NFSSERVER) || defined(NFSCLIENT) + nfs_init(); /* initialize server/shared data */ +#endif vfsinit(); /* Start real time and statistics clocks. */ |