From a3382e87b497c0977e0aa852da6cb238f06e1e18 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 28 Jan 2017 15:08:22 +0000 Subject: LMDB: include filename in open-error message --- src/src/lookups/lmdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3