diff options
Diffstat (limited to 'src/falloc.c')
-rw-r--r-- | src/falloc.c | 4 |
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) | |||
202 | _gdbm_full_read (dbf, new_blk, new_el.av_size)); | 202 | _gdbm_full_read (dbf, new_blk, new_el.av_size)); |
203 | if (rc) | 203 | if (rc) |
204 | { | 204 | { |
205 | _gdbm_fatal (dbf, gdbm_strerror (rc)); | 205 | _gdbm_fatal (dbf, gdbm_db_strerror (dbf)); |
206 | return -1; | 206 | return -1; |
207 | } | 207 | } |
208 | 208 | ||
@@ -330,7 +330,7 @@ push_avail_block (GDBM_FILE dbf) | |||
330 | GDBM_DEBUG (GDBM_DEBUG_STORE|GDBM_DEBUG_ERR, | 330 | GDBM_DEBUG (GDBM_DEBUG_STORE|GDBM_DEBUG_ERR, |
331 | "%s: error writing avail data: %s", | 331 | "%s: error writing avail data: %s", |
332 | dbf->name, gdbm_db_strerror (dbf)); | 332 | dbf->name, gdbm_db_strerror (dbf)); |
333 | _gdbm_fatal (dbf, gdbm_strerror (rc)); | 333 | _gdbm_fatal (dbf, gdbm_db_strerror (dbf)); |
334 | return -1; | 334 | return -1; |
335 | } | 335 | } |
336 | 336 | ||