# | Line 136 | Line 136 | int vm_acquire_fixed(void * addr, size_t | |
---|---|---|
136 | return -1; | |
137 | ||
138 | // Since I don't know the standard behavior of mmap(), zero-fill here | |
139 | < | if (memset(addr, 0, size) != 0) |
139 | > | if (memset(addr, 0, size) != addr) |
140 | return -1; | |
141 | #else | |
142 | // Unsupported |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |