aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysdeps/pthread/sem_routines.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/pthread/sem_routines.c b/sysdeps/pthread/sem_routines.c
index 9e1924398d..877e1e8556 100644
--- a/sysdeps/pthread/sem_routines.c
+++ b/sysdeps/pthread/sem_routines.c
@@ -25,7 +25,7 @@
struct inuse_sem
{
dev_t dev;
- ino_t ino;
+ ino64_t ino;
int refcnt;
sem_t *sem;
char name[];
@@ -34,7 +34,7 @@ struct inuse_sem
struct search_sem
{
dev_t dev;
- ino_t ino;
+ ino64_t ino;
int refcnt;
sem_t *sem;
char name[NAME_MAX + 1];
@@ -77,8 +77,8 @@ __sem_check_add_mapping (const char *name, int fd, sem_t *existing)
sem_t *result = SEM_FAILED;
/* Get the information about the file. */
- struct stat64 st;
- if (__fstat64 (fd, &st) == 0)
+ struct __stat64_t64 st;
+ if (__fstat64_time64 (fd, &st) == 0)
{
/* Get the lock. */
lll_lock (sem_mappings_lock, LLL_PRIVATE);