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