diff options
author | Ian Moffett <ian@osmora.org> | 2025-10-20 22:24:20 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-10-20 22:24:20 -0400 |
commit | b3b838c14d5999ef5e603ce54ee28582aa648507 (patch) | |
tree | 494cb0bb669337e87532481566cef173983ddff7 /src/sys/fs | |
parent | d554b1ef1ce065284fcf980188e8eda1e8e7c46b (diff) |
kern: vfs: Add chardev vnode type
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/fs')
-rw-r--r-- | src/sys/fs/devfs.c | 2 |
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; } |