diff --git a/src/mdbx_load.c b/src/mdbx_load.c index 898149bb..463f0207 100644 --- a/src/mdbx_load.c +++ b/src/mdbx_load.c @@ -566,7 +566,7 @@ int main(int argc, char *argv[]) { rc = readhdr(); if (unlikely(rc != MDBX_SUCCESS)) { if (rc == EOF) - rc = ENODATA; + rc = MDBX_ENODATA; error("readheader", rc); goto env_close; }