Skip to content
Snippets Groups Projects
Unverified Commit 9e84ddb9 authored by Marcin Ślusarz's avatar Marcin Ślusarz Committed by GitHub
Browse files

Merge pull request #3957 from lplewa/EOVERFLOW

obj: replace EOVERFLOW with ERANGE
parents b20010a6 ace3819e
No related branches found
No related tags found
No related merge requests found
......@@ -1863,7 +1863,7 @@ pmemobj_tx_log_snapshots_max_size(size_t *sizes, size_t nsizes)
return result;
err_overflow:
errno = EOVERFLOW;
errno = ERANGE;
return SIZE_MAX;
}
......@@ -1914,7 +1914,7 @@ pmemobj_tx_log_intents_max_size(size_t nintents)
return result;
err_overflow:
errno = EOVERFLOW;
errno = ERANGE;
return SIZE_MAX;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment