about summary refs log tree commit diff
path: root/elf/sln.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-01-17 10:56:58 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-01-17 10:56:58 -0300
commitcedd498dbc090e39a9b3224f4c53ea98da049f40 (patch)
tree5aa2ccfdb9af3a16eac4818d83988f172dd89fd2 /elf/sln.c
parentf545ad4928fa1f27a3075265182b38a4f939a5f7 (diff)
downloadglibc-cedd498dbc090e39a9b3224f4c53ea98da049f40.tar.gz
glibc-cedd498dbc090e39a9b3224f4c53ea98da049f40.tar.xz
glibc-cedd498dbc090e39a9b3224f4c53ea98da049f40.zip
Revert "elf: Fix 64 time_t support for installed statically binaries"
This reverts commit 0b8e83eb1455f3c0332eeb1f96fbc262fbd054e0.
Diffstat (limited to 'elf/sln.c')
-rw-r--r--elf/sln.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/sln.c b/elf/sln.c
index 5347338e91..00f8f7c8e8 100644
--- a/elf/sln.c
+++ b/elf/sln.c
@@ -153,11 +153,11 @@ makesymlinks (const char *file)
 static int
 makesymlink (const char *src, const char *dest)
 {
-  struct stat stats;
+  struct stat64 stats;
   const char *error;
 
   /* Destination must not be a directory. */
-  if (lstat (dest, &stats) == 0)
+  if (lstat64 (dest, &stats) == 0)
     {
       if (S_ISDIR (stats.st_mode))
 	{