summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-01-28 15:08:22 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2017-01-28 15:08:22 +0000
commita3382e87b497c0977e0aa852da6cb238f06e1e18 (patch)
tree79c4eb128c6043752150f6606ba4ecd80401907f /src
parent02c4f8fb8927c97939d3daa345148739e275dc8d (diff)
LMDB: include filename in open-error message
Diffstat (limited to 'src')
-rw-r--r--src/src/lookups/lmdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/lookups/lmdb.c b/src/src/lookups/lmdb.c
index 8b0ffd2dd..a6888d5a9 100644
--- a/src/src/lookups/lmdb.c
+++ b/src/src/lookups/lmdb.c
@@ -41,7 +41,7 @@ if ((ret = mdb_env_create(&db_env)))
if ((ret = mdb_env_open(db_env, CS filename, MDB_NOSUBDIR|MDB_RDONLY, 0660)))
{
- errstr = US"open environment";
+ errstr = string_sprintf("open environment with %s", filename);
goto bad;
}