better wording for page size mismatch error

This commit is contained in:
Daniel Micay 2020-08-05 18:10:53 -04:00
parent bcb93cab63
commit dd7291ebfe

View File

@ -1058,7 +1058,7 @@ COLD static void init_slow_path(void) {
#endif
if (sysconf(_SC_PAGESIZE) != PAGE_SIZE) {
fatal_error("page size mismatch");
fatal_error("runtime page size does not match compile-time page size which is not supported");
}
struct random_state *rng = allocate_pages(sizeof(struct random_state), PAGE_SIZE, true, "malloc init rng");