From: Hallvard Furuseth Date: Tue, 6 Sep 2016 15:48:31 +0000 (+0200) Subject: Drop spurious Errcode() call X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3dd2d207d7e2cdd0fe040b919be56a1e23851aea;p=openldap Drop spurious Errcode() call --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index ecfd5cab66..b8ecfd8779 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -4846,7 +4846,7 @@ mdb_env_setup_locks(MDB_env *env, char *lpath, int mode, int *excl) if (rc == MDB_ERRCODE_ROFS && (env->me_flags & MDB_RDONLY)) { return MDB_SUCCESS; } - goto fail_errno; + goto fail; } #if ! ((MDB_CLOEXEC) || defined(_WIN32)) /* Lose record locks when exec*() */