summaryrefslogtreecommitdiffstats
path: root/sys/coda/coda_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/coda/coda_vfsops.c')
-rw-r--r--sys/coda/coda_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/coda/coda_vfsops.c b/sys/coda/coda_vfsops.c
index 4e30e22..3e93a2e 100644
--- a/sys/coda/coda_vfsops.c
+++ b/sys/coda/coda_vfsops.c
@@ -183,7 +183,7 @@ coda_mount(struct mount *vfsp, struct thread *td)
rootvp = CTOV(cp);
rootvp->v_vflag |= VV_ROOT;
- cp = make_coda_node(&ctlfid, vfsp, VCHR);
+ cp = make_coda_node(&ctlfid, vfsp, VREG);
coda_ctlvp = CTOV(cp);
/* Add vfs and rootvp to chain of vfs hanging off mntinfo */
OpenPOWER on IntegriCloud