mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-12-18 04:14:23 -05:00
better wording for page size mismatch error
This commit is contained in:
parent
bcb93cab63
commit
dd7291ebfe
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user