Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
markondej committed Dec 26, 2021
1 parent fb85731 commit cf29f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cf29f4a

Please sign in to comment.