path: root/src/update.c
Side-by-side diff
Diffstat (limited to 'src/update.c') (more/less context) (ignore whitespace changes)
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update.c b/src/update.c
index 905ba69..63c6c95 100644
--- a/src/update.c
+++ b/src/update.c
@@ -109,13 +109,13 @@ _gdbm_end_update (GDBM_FILE dbf)
_gdbm_full_write (dbf, dbf->dir, dbf->header->dir_size));
if (rc)
"%s: error writing directory: %s",
dbf->name, gdbm_db_strerror (dbf));
- _gdbm_fatal (dbf, gdbm_strerror (rc));
+ _gdbm_fatal (dbf, gdbm_db_strerror (dbf));
return -1;
dbf->directory_changed = FALSE;
if (!dbf->header_changed && dbf->fast_write == FALSE)
__fsync (dbf);

Return to:

Send suggestions and report system problems to the System administrator.