Merge branch '1.10' of github.com:JetBrains-Research/Lama into 1.10

This commit is contained in:
Dmitry Boulytchev 2023-03-12 05:30:58 +03:00
commit 1bafe839dc
2 changed files with 64 additions and 56 deletions

View file

@ -1885,7 +1885,7 @@ extern void __init (void) {
from_space.begin = mmap (NULL, space_size, PROT_READ | PROT_WRITE,
MAP_PRIVATE | MAP_ANONYMOUS | MAP_32BIT, -1, 0);
to_space.begin = NULL;
if (to_space.begin == MAP_FAILED) {
if (from_space.begin == MAP_FAILED) {
perror ("EROOR: init_pool: mmap failed\n");
exit (1);
}