summaryrefslogtreecommitdiff
path: root/ext/standard/pageinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/pageinfo.c')
-rw-r--r--ext/standard/pageinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/pageinfo.c b/ext/standard/pageinfo.c
index 5c52d97762..cc5e8451e1 100644
--- a/ext/standard/pageinfo.c
+++ b/ext/standard/pageinfo.c
@@ -47,7 +47,7 @@ static void php_statpage(TSRMLS_D)
{
struct stat *pstat;
- pstat = sapi_get_stat();
+ pstat = sapi_get_stat(TSRMLS_C);
if (BG(page_uid)==-1 || BG(page_gid)==-1) {
if(pstat) {