summaryrefslogtreecommitdiff
path: root/ext/posix/posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/posix/posix.c')
-rw-r--r--ext/posix/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/posix/posix.c b/ext/posix/posix.c
index dbbe242ab5..ca637f5732 100644
--- a/ext/posix/posix.c
+++ b/ext/posix/posix.c
@@ -571,7 +571,7 @@ PHP_FUNCTION(posix_getcwd)
char buffer[MAXPATHLEN];
char *p;
- p = PHP_GETCWD(buffer, MAXPATHLEN);
+ p = V_GETCWD(buffer, MAXPATHLEN);
if (!p) {
php_error(E_WARNING, "posix_getcwd() failed with '%s'",
strerror(errno));