diff options
Diffstat (limited to 'nptl/sem_open.c')
-rw-r--r-- | nptl/sem_open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sem_open.c b/nptl/sem_open.c index b022cbfd9a..05e286002b 100644 --- a/nptl/sem_open.c +++ b/nptl/sem_open.c @@ -68,7 +68,7 @@ check_add_mapping (const char *name, size_t namelen, int fd, sem_t *existing) /* Get the information about the file. */ struct stat64 st; - if (__fxstat64 (_STAT_VER, fd, &st) == 0) + if (__fstat64 (fd, &st) == 0) { /* Get the lock. */ lll_lock (__sem_mappings_lock, LLL_PRIVATE); |