summaryrefslogtreecommitdiff
path: root/ext/standard/php_fopen_wrapper.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2011-01-17 13:44:54 +0000
committerIlia Alshanetsky <iliaa@php.net>2011-01-17 13:44:54 +0000
commit78b60fcc97250ae70361c2c21039dbc0907ea91b (patch)
treef013b46f7650c58b08317cb7e200aaf32769ad39 /ext/standard/php_fopen_wrapper.c
parenta55e03aaffd8601f3b66c0f16451404b61a2f18b (diff)
downloadphp-git-78b60fcc97250ae70361c2c21039dbc0907ea91b.tar.gz
Fixed compiler warning
Diffstat (limited to 'ext/standard/php_fopen_wrapper.c')
-rw-r--r--ext/standard/php_fopen_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_fopen_wrapper.c b/ext/standard/php_fopen_wrapper.c
index 3c054e2d28..7e30a8ea46 100644
--- a/ext/standard/php_fopen_wrapper.c
+++ b/ext/standard/php_fopen_wrapper.c
@@ -286,7 +286,7 @@ php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, ch
fd = dup(fildes_ori);
if (fd == -1) {
php_stream_wrapper_log_error(wrapper, options TSRMLS_CC,
- "Error duping file descriptor %d; possibly it doesn't exist: "
+ "Error duping file descriptor %ld; possibly it doesn't exist: "
"[%d]: %s", fildes_ori, errno, strerror(errno));
return NULL;
}