mirror of
https://github.com/php/php-src.git
synced 2025-08-17 22:48:57 +02:00
- Copy and paste error -> unify error messages
This commit is contained in:
parent
bffe4cf222
commit
1630e1788f
2 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ PHP_NAMED_FUNCTION(php_if_md5_file)
|
|||
}
|
||||
|
||||
if ((fp = VCWD_FOPEN(Z_STRVAL_PP(arg), "rb")) == NULL) {
|
||||
php_error(E_WARNING, "md5_file(): Unable to open file");
|
||||
php_error(E_WARNING, "%s(): Unable to open file", get_active_function_name (TSRMLS_C));
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ PHP_FUNCTION(sha1_file)
|
|||
}
|
||||
|
||||
if ((fp = VCWD_FOPEN(Z_STRVAL_PP(arg), "rb")) == NULL) {
|
||||
php_error(E_WARNING, "md5_file(): Unable to open file");
|
||||
php_error(E_WARNING, "%s(): Unable to open file", get_active_function_name (TSRMLS_C));
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue