summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_syscalls.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2008-06-22 21:51:32 +0000
committerRobert Watson <rwatson@FreeBSD.org>2008-06-22 21:51:32 +0000
commit3319d712652d760eb37bda2861aa64e4912518fe (patch)
tree0bd9e6c353c0e825d6c641d30b644669501eafa2 /sys/kern/vfs_syscalls.c
parentb6365f959c8a91401b7152643b759c9d8c795223 (diff)
downloadsrc-test2-3319d712652d760eb37bda2861aa64e4912518fe.tar.gz
src-test2-3319d712652d760eb37bda2861aa64e4912518fe.zip
Notes
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 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;