summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/user_streams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/user_streams.c b/main/user_streams.c
index f6195b2ab6..226e42192c 100644
--- a/main/user_streams.c
+++ b/main/user_streams.c
@@ -252,7 +252,7 @@ static size_t php_userstreamop_write(php_stream *stream, const char *buf, size_t
/* don't allow strange buffer overruns due to bogus return */
if (didwrite > count) {
- zend_error(E_WARNING, "%s::" USERSTREAM_READ " - wrote more data than requested",
+ zend_error(E_WARNING, "%s::" USERSTREAM_WRITE " - wrote more data than requested",
us->wrapper->classname);
didwrite = count;
}