diff options
Diffstat (limited to 'sysdeps/posix/mkfifoat.c')
-rw-r--r-- | sysdeps/posix/mkfifoat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/posix/mkfifoat.c b/sysdeps/posix/mkfifoat.c index 5287fe8..d1e0977 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); } |