summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getdirname.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/getdirname.c')
-rw-r--r--libc/sysdeps/linux/common/getdirname.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/getdirname.c b/libc/sysdeps/linux/common/getdirname.c
index d791f34a3..a4285322b 100644
--- a/libc/sysdeps/linux/common/getdirname.c
+++ b/libc/sysdeps/linux/common/getdirname.c
@@ -42,11 +42,11 @@ get_current_dir_name (void)
pwd = __getenv ("PWD");
if (pwd != NULL
#if defined __UCLIBC_HAS_LFS__
- && stat64 (".", &dotstat) == 0
- && stat64 (pwd, &pwdstat) == 0
+ && __stat64 (".", &dotstat) == 0
+ && __stat64 (pwd, &pwdstat) == 0
#else
- && stat (".", &dotstat) == 0
- && stat (pwd, &pwdstat) == 0
+ && __stat (".", &dotstat) == 0
+ && __stat (pwd, &pwdstat) == 0
#endif
&& pwdstat.st_dev == dotstat.st_dev
&& pwdstat.st_ino == dotstat.st_ino)