path: root/src/findkey.c
authorSergey Poznyakoff <>2018-05-24 05:28:51 (GMT)
committer Sergey Poznyakoff <>2018-05-24 05:29:47 (GMT)
commitf82d0b213fd2cdce80dc891906fba8d589115664 (patch) (side-by-side diff)
tree9aa091d9fbe7fea183391fc9e22fc0f2f54ae28f /src/findkey.c
parent0665bcf0c9cdf756f9d5edc6a638c56602c42065 (diff)
Fix the use of return code from _gdbm_full_(read|write) functions
Diffstat (limited to 'src/findkey.c') (more/less context) (show whitespace changes)
1 files changed, 1 insertions, 1 deletions
diff --git a/src/findkey.c b/src/findkey.c
index 211d9a9..7638b04 100644
--- a/src/findkey.c
+++ b/src/findkey.c
@@ -83,7 +83,7 @@ _gdbm_read_entry (GDBM_FILE dbf, int elem_loc)
"%s: error reading entry: %s",
dbf->name, gdbm_db_strerror (dbf));
dbf->need_recovery = TRUE;
- _gdbm_fatal (dbf, gdbm_strerror (rc));
+ _gdbm_fatal (dbf, gdbm_db_strerror (dbf));
return NULL;

Return to:

Send suggestions and report system problems to the System administrator.