diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-21 11:06:23 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-21 11:06:23 +0000 |
commit | 04cb1df49ad5907d2b4bee22fdfe4695ad0df432 (patch) | |
tree | 1728e0c6a0b7bcff1340cc629eb752d02da5171b /sys/kern | |
parent | 346174e1eed58efcf2628f8f90d9a9d6639e4272 (diff) |
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')
-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. */ |