summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/syscalls.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc
index 27b68454a..81688fd54 100644
--- a/winsup/cygwin/syscalls.cc
+++ b/winsup/cygwin/syscalls.cc
@@ -1939,9 +1939,10 @@ mknod (const char *_path, mode_t mode, __dev16_t dev)
}
extern "C" int
-mkfifo (const char *path, mode_t mode)
+mkfifo (const char *_path, mode_t mode)
{
- return mknod32 (path, (mode & ~S_IFMT) | S_IFIFO, 0);
+ set_errno (ENOSYS); // FIXME
+ return -1;
}
/* seteuid: standards? */