aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/gtload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gtload.c b/tests/gtload.c
index cc66b94..273ebbe 100644
--- a/tests/gtload.c
+++ b/tests/gtload.c
@@ -333,8 +333,8 @@ main (int argc, char **argv)
data.dsize = strlen (data.dptr) + data_z;
if (gdbm_store (dbf, key, data, replace) != 0)
{
- fprintf (stderr, "%s: %d: item not inserted\n",
- progname, line);
+ fprintf (stderr, "%s: %d: item not inserted: %s\n",
+ progname, line, gdbm_db_strerror (dbf));
if (gdbm_needs_recovery (dbf) && recover)
{
int rc = gdbm_recover (dbf, &rcvr, rcvr_flags);

Return to:

Send suggestions and report system problems to the System administrator.