From: Hallvard Furuseth Date: Tue, 6 Sep 2016 15:48:31 +0000 (+0200) Subject: Drop spurious Errcode() call X-Git-Tag: LMDB_0.9.19~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bffe2ebcba56e0475d50c5d2aae86f2b7b0d3090;p=openldap Drop spurious Errcode() call --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 0575958486..9c85230a6b 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -4523,7 +4523,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*() */