diff options
Diffstat (limited to 'src/gdbmstore.c')
-rw-r--r-- | src/gdbmstore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gdbmstore.c b/src/gdbmstore.c index 0bcd7d7..7b2ed04 100644 --- a/src/gdbmstore.c +++ b/src/gdbmstore.c | |||
@@ -167,7 +167,7 @@ gdbm_store (GDBM_FILE dbf, datum key, datum content, int flags) | |||
167 | GDBM_DEBUG (GDBM_DEBUG_STORE|GDBM_DEBUG_ERR, | 167 | GDBM_DEBUG (GDBM_DEBUG_STORE|GDBM_DEBUG_ERR, |
168 | "%s: error writing key: %s", | 168 | "%s: error writing key: %s", |
169 | dbf->name, gdbm_db_strerror (dbf)); | 169 | dbf->name, gdbm_db_strerror (dbf)); |
170 | _gdbm_fatal (dbf, gdbm_strerror (rc)); | 170 | _gdbm_fatal (dbf, gdbm_db_strerror (dbf)); |
171 | return -1; | 171 | return -1; |
172 | } | 172 | } |
173 | 173 | ||
@@ -179,7 +179,7 @@ gdbm_store (GDBM_FILE dbf, datum key, datum content, int flags) | |||
179 | GDBM_DEBUG (GDBM_DEBUG_STORE|GDBM_DEBUG_ERR, | 179 | GDBM_DEBUG (GDBM_DEBUG_STORE|GDBM_DEBUG_ERR, |
180 | "%s: error writing content: %s", | 180 | "%s: error writing content: %s", |
181 | dbf->name, gdbm_db_strerror (dbf)); | 181 | dbf->name, gdbm_db_strerror (dbf)); |
182 | _gdbm_fatal (dbf, gdbm_strerror (rc)); | 182 | _gdbm_fatal (dbf, gdbm_db_strerror (dbf)); |
183 | return -1; | 183 | return -1; |
184 | } | 184 | } |
185 | 185 | ||