mirror of
https://github.com/isar/libmdbx.git
synced 2024-10-30 11:29:19 +08:00
mdbx-tools: fix using ENODATA for FreeBSD.
Change-Id: I3092e79116de96aa5e12e61e0963dc7545a1cf1b
This commit is contained in:
parent
9f6a3ea9a2
commit
a159ae4b06
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user