diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2008-06-22 21:51:32 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2008-06-22 21:51:32 +0000 |
commit | 3319d712652d760eb37bda2861aa64e4912518fe (patch) | |
tree | 0bd9e6c353c0e825d6c641d30b644669501eafa2 /sys/kern/vfs_syscalls.c | |
parent | b6365f959c8a91401b7152643b759c9d8c795223 (diff) | |
download | src-test2-3319d712652d760eb37bda2861aa64e4912518fe.tar.gz src-test2-3319d712652d760eb37bda2861aa64e4912518fe.zip |
Notes
Diffstat (limited to 'sys/kern/vfs_syscalls.c')
-rw-r--r-- | sys/kern/vfs_syscalls.c | 4 |
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; |