summaryrefslogtreecommitdiff
path: root/ext/dbase/dbf_rec.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-01-19 00:45:53 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-01-19 00:45:53 +0000
commit3d8e54f3a2f72eeaf22a5ffd66a7e5465f60127c (patch)
tree1784e782a671b83758c0c836088026f73897c0ef /ext/dbase/dbf_rec.c
parentadd3ec4e0ba076db7cdece4bfdb852b8333e198d (diff)
downloadphp-git-3d8e54f3a2f72eeaf22a5ffd66a7e5465f60127c.tar.gz
Changed php_error to php_error_docref.
Diffstat (limited to 'ext/dbase/dbf_rec.c')
-rw-r--r--ext/dbase/dbf_rec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dbase/dbf_rec.c b/ext/dbase/dbf_rec.c
index 2050bc834a..082e7050f3 100644
--- a/ext/dbase/dbf_rec.c
+++ b/ext/dbase/dbf_rec.c
@@ -136,7 +136,7 @@ void pack_dbf(dbhead_t *dbh)
/* Try to truncate the file to the right size. */
if (ftruncate(dbh->db_fd, out_off) != 0) {
- php_error(E_WARNING, "dbase_pack() couldn't truncate the file to the right size. Some deleted records may still be left in there.");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "dbase_pack() couldn't truncate the file to the right size. Some deleted records may still be left in there.");
}
if (rec_cnt == 0)