summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/vfs_syscalls.c')
-rw-r--r--sys/kern/vfs_syscalls.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
index 09f51e1..e38f80e 100644
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -1264,6 +1264,10 @@ kern_mknodat(struct thread *td, int fd, char *path, enum uio_seg pathseg,
case S_IFWHT:
error = priv_check(td, PRIV_VFS_MKNOD_WHT);
break;
+ case S_IFIFO:
+ if (dev == 0)
+ return (kern_mkfifoat(td, fd, path, pathseg, mode));
+ /* FALLTHROUGH */
default:
error = EINVAL;
break;
OpenPOWER on IntegriCloud