Corrections

This commit is contained in:
Alexey Milovidov 2021-12-23 01:38:28 +03:00
parent 53c83e4813
commit 9fa2b7a581

View File

@ -5,8 +5,7 @@
Int64 getPageSize()
{
Int64 page_size = sysconf(_SC_PAGESIZE);
if(page_size == -1)
if (page_size < 0)
abort();
else
return sysconf(_SC_PAGESIZE);
return page_size;
}