aboutsummaryrefslogtreecommitdiff
path: root/io/mkfifoat.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/mkfifoat.c')
-rw-r--r--io/mkfifoat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/mkfifoat.c b/io/mkfifoat.c
index 409f551..f2af653 100644
--- a/io/mkfifoat.c
+++ b/io/mkfifoat.c
@@ -37,7 +37,7 @@ mkfifoat (int fd, const char *path, mode_t mode)
{
/* Check FD is associated with a directory. */
struct stat64 st;
- if (__fxstat64 (_STAT_VER, fd, &st) != 0)
+ if (__fstat64 (fd, &st) != 0)
return -1;
if (!S_ISDIR (st.st_mode))