summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/zlib/zlib_fopen_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zlib/zlib_fopen_wrapper.c b/ext/zlib/zlib_fopen_wrapper.c
index d00e6756fe..c90a77259f 100644
--- a/ext/zlib/zlib_fopen_wrapper.c
+++ b/ext/zlib/zlib_fopen_wrapper.c
@@ -119,7 +119,7 @@ php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, char *path, char *mod
gzclose(self->gz_file);
}
if (options & REPORT_ERRORS)
- php_errordocref(NULL TSRMLS_CC, E_WARNING, "gzopen failed");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "gzopen failed");
}
}
if (stream)