summary refs log tree commit diff
path: root/sysdeps/posix/mkfifoat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/mkfifoat.c')
-rw-r--r--sysdeps/posix/mkfifoat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/posix/mkfifoat.c b/sysdeps/posix/mkfifoat.c
index 5287fe8782..d1e0977ba1 100644
--- a/sysdeps/posix/mkfifoat.c
+++ b/sysdeps/posix/mkfifoat.c
@@ -23,6 +23,5 @@
 int
 mkfifoat (int fd, const char *file, mode_t mode)
 {
-  dev_t dev = 0;
-  return __xmknodat (_MKNOD_VER, fd, file, mode | S_IFIFO, &dev);
+  return __mknodat (fd, file, mode | S_IFIFO, 0);
 }