]> git.sur5r.net Git - openldap/commitdiff
Drop spurious Errcode() call
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 6 Sep 2016 15:48:31 +0000 (17:48 +0200)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 25 Sep 2016 06:12:56 +0000 (08:12 +0200)
libraries/liblmdb/mdb.c

index ecfd5cab66c80ae45c2ff3aec4f0c6b244c88107..b8ecfd87799d06545784d263eab8537f243cb285 100644 (file)
@@ -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*() */