summaryrefslogtreecommitdiffabout
path: root/src/falloc.c
Side-by-side diff
Diffstat (limited to 'src/falloc.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/falloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/falloc.c b/src/falloc.c
index 33a238a..e87a5b7 100644
--- a/src/falloc.c
+++ b/src/falloc.c
@@ -202,7 +202,7 @@ pop_avail_block (GDBM_FILE dbf)
_gdbm_full_read (dbf, new_blk, new_el.av_size));
if (rc)
{
- _gdbm_fatal (dbf, gdbm_strerror (rc));
+ _gdbm_fatal (dbf, gdbm_db_strerror (dbf));
return -1;
}
@@ -330,7 +330,7 @@ push_avail_block (GDBM_FILE dbf)
GDBM_DEBUG (GDBM_DEBUG_STORE|GDBM_DEBUG_ERR,
"%s: error writing avail data: %s",
dbf->name, gdbm_db_strerror (dbf));
- _gdbm_fatal (dbf, gdbm_strerror (rc));
+ _gdbm_fatal (dbf, gdbm_db_strerror (dbf));
return -1;
}

Return to:

Send suggestions and report system problems to the System administrator.