From 3d8e54f3a2f72eeaf22a5ffd66a7e5465f60127c Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Sun, 19 Jan 2003 00:45:53 +0000 Subject: Changed php_error to php_error_docref. --- ext/dbase/dbf_rec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/dbase/dbf_rec.c') 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) -- cgit v1.2.1