From cf29f4a0b673289161bb375540a9296b5cea9db6 Mon Sep 17 00:00:00 2001 From: Marcin Kondej Date: Sun, 26 Dec 2021 20:51:07 +0100 Subject: [PATCH] Typo fix --- transmitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transmitter.cpp b/transmitter.cpp index abf34f1..d914ba4 100644 --- a/transmitter.cpp +++ b/transmitter.cpp @@ -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);