pull/157/head
Marcin Kondej 2021-12-26 20:51:07 +01:00
rodzic fb85731d6f
commit cf29f4a0b6
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -176,7 +176,7 @@ class AllocatedMemory
if (!memHandle) {
mbox_close(mBoxFd);
memSize = 0;
throw std::runtime_error("Cannot allocate memory (" + std::to_string(size) + "bytes");
throw std::runtime_error("Cannot allocate memory (" + std::to_string(size) + " bytes)");
}
memAddress = mem_lock(mBoxFd, memHandle);
memAllocated = mapmem(memAddress & ~0xc0000000, memSize);