summaryrefslogtreecommitdiff
path: root/ext/standard
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2002-07-28 19:29:28 +0000
committerDerick Rethans <derick@php.net>2002-07-28 19:29:28 +0000
commit1630e1788f19c46b68b41cae0881076c6868bd10 (patch)
treea95fb6d9792f3efa2f7ef5819d4295e83643dde2 /ext/standard
parentbffe4cf222fe24159ae2922bc16e03088526c03b (diff)
downloadphp-git-1630e1788f19c46b68b41cae0881076c6868bd10.tar.gz
- Copy and paste error -> unify error messages
Diffstat (limited to 'ext/standard')
-rw-r--r--ext/standard/md5.c2
-rw-r--r--ext/standard/sha1.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/md5.c b/ext/standard/md5.c
index 9021506003..775daf3f27 100644
--- a/ext/standard/md5.c
+++ b/ext/standard/md5.c
@@ -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;
}
diff --git a/ext/standard/sha1.c b/ext/standard/sha1.c
index c4ab0d72b0..6ae6ef40f5 100644
--- a/ext/standard/sha1.c
+++ b/ext/standard/sha1.c
@@ -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;
}