summaryrefslogtreecommitdiff
path: root/src/sys/fs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/fs')
-rw-r--r--src/sys/fs/devfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/fs/devfs.c b/src/sys/fs/devfs.c
index 729449a..08a9fc5 100644
--- a/src/sys/fs/devfs.c
+++ b/src/sys/fs/devfs.c
@@ -72,7 +72,7 @@ devfs_lookup(struct vop_lookup_args *args)
}
/* Found it! Create a vnode */
- error = vfs_valloc(&vp, VTYPE_FILE, 0);
+ error = vfs_valloc(&vp, VTYPE_CDEV, 0);
if (error < 0) {
return error;
}