This commit is contained in:
David Rose 2007-06-29 01:41:25 +00:00
parent d52eb37b14
commit b03baf5afd

View File

@ -220,8 +220,7 @@ mmap_alloc(size_t size, bool allow_exec) {
allow_exec ? PAGE_EXECUTE_READWRITE : PAGE_READWRITE);
if (ptr == (void *)NULL) {
DWORD err = GetLastError();
cerr << "Couldn't allocate memory page of size " << needed_size
<< ": ";
cerr << "Couldn't allocate memory page of size " << size << ": ";
PVOID buffer;
DWORD length =