diff options
Diffstat (limited to 'elf/chroot_canon.c')
-rw-r--r-- | elf/chroot_canon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/chroot_canon.c b/elf/chroot_canon.c index e5d7518266..c7f12ca112 100644 --- a/elf/chroot_canon.c +++ b/elf/chroot_canon.c @@ -67,7 +67,7 @@ chroot_canon (const char *chroot, const char *name) for (start = end = name; *start; start = end) { - struct stat st; + struct stat64 st; /* Skip sequence of multiple path-separators. */ while (*start == '/') @@ -114,7 +114,7 @@ chroot_canon (const char *chroot, const char *name) dest = mempcpy (dest, start, end - start); *dest = '\0'; - if (lstat (rpath, &st) < 0) + if (lstat64 (rpath, &st) < 0) { if (*end == '\0') goto done; |