diff options
author | Antony Dovgal <tony2001@php.net> | 2006-07-14 20:44:04 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-07-14 20:44:04 +0000 |
commit | 54dba635a31790f9b7802c258a5b85b680348a08 (patch) | |
tree | b83187d8ff89b7dba89e3981aa3de9b99b69219b | |
parent | 3876158e8ffc048aff6a0e062a6aea1b0c655df6 (diff) | |
download | php-git-54dba635a31790f9b7802c258a5b85b680348a08.tar.gz |
rephrase the error message (fixes #38106)
-rw-r--r-- | ext/standard/file.c | 2 | ||||
-rw-r--r-- | ext/standard/streamsfuncs.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c index 38670e8dc5..744fa21d1c 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -535,7 +535,7 @@ PHP_FUNCTION(file_get_contents) } if (offset > 0 && php_stream_seek(stream, offset, SEEK_SET) < 0) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to seek to %ld position in the stream.", offset); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to seek to position %ld in the stream.", offset); RETURN_FALSE; } diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index 36306bb9d5..6e41cc593d 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -404,7 +404,7 @@ PHP_FUNCTION(stream_get_contents) php_stream_from_zval(stream, &zsrc); if (pos > 0 && php_stream_seek(stream, pos, SEEK_SET) < 0) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to seek to %ld position in the stream.", pos); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to seek to position %ld in the stream.", pos); RETURN_FALSE; } @@ -440,7 +440,7 @@ PHP_FUNCTION(stream_copy_to_stream) php_stream_from_zval(dest, &zdest); if (pos > 0 && php_stream_seek(src, pos, SEEK_SET) < 0) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to seek to %ld position in the stream.", pos); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to seek to position %ld in the stream.", pos); RETURN_FALSE; } |