summaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorJohn Dyson <dyson@FreeBSD.org>1998-02-15 04:17:09 +0000
committerJohn Dyson <dyson@FreeBSD.org>1998-02-15 04:17:09 +0000
commit9f24f214c3b887534d97edb24573f96ac3da3a17 (patch)
tree1947741983575befe7e85f72b5cf68ab8ac3bdf9 /sys/kern/init_main.c
parent1ecfd4575d9957b458ec53671f3986f5a3b1ce44 (diff)
Notes
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 74b3bf972268..ad779c57b9f9 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.82 1998/02/04 22:32:30 eivind Exp $
+ * $Id: init_main.c,v 1.83 1998/02/06 12:13:21 eivind Exp $
*/
#include "opt_devfs.h"
@@ -498,7 +498,7 @@ xxx_vfs_root_fdtab(dummy)
fdp->fd_fd.fd_cdir = rootvnode;
VREF(fdp->fd_fd.fd_cdir);
VOP_UNLOCK(rootvnode, 0, &proc0);
- fdp->fd_fd.fd_rdir = NULL;
+ fdp->fd_fd.fd_rdir = rootvnode;
}
SYSINIT(retrofit, SI_SUB_ROOT_FDTAB, SI_ORDER_FIRST, xxx_vfs_root_fdtab, NULL)