diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index 09f51e182204..e38f80e82b8a 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;