From: Jeremy Harris Date: Sat, 28 Jan 2017 15:08:22 +0000 (+0000) Subject: LMDB: include filename in open-error message X-Git-Tag: exim-4_89_RC1~15 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/a3382e87b497c0977e0aa852da6cb238f06e1e18 LMDB: include filename in open-error message --- 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; }