diff options
Diffstat (limited to 'libc/sysdeps/linux/common/getdirname.c')
-rw-r--r-- | libc/sysdeps/linux/common/getdirname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/getdirname.c b/libc/sysdeps/linux/common/getdirname.c index d0865fba5..486ee9335 100644 --- a/libc/sysdeps/linux/common/getdirname.c +++ b/libc/sysdeps/linux/common/getdirname.c @@ -37,7 +37,7 @@ get_current_dir_name (void) struct stat dotstat, pwdstat; #endif - pwd = getenv ("PWD"); + pwd = __getenv ("PWD"); if (pwd != NULL #if defined __UCLIBC_HAS_LFS__ && stat64 (".", &dotstat) == 0 |