about summary refs log tree commit diff
path: root/elf/sln.c
diff options
context:
space:
mode:
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 00f8f7c8e8..5347338e91 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 stat64 stats;
+  struct stat stats;
   const char *error;
 
   /* Destination must not be a directory. */
-  if (lstat64 (dest, &stats) == 0)
+  if (lstat (dest, &stats) == 0)
     {
       if (S_ISDIR (stats.st_mode))
 	{