summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libcamera/mapped_framebuffer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcamera/mapped_framebuffer.cpp b/src/libcamera/mapped_framebuffer.cpp
index 4ac45083..2ebe9fdb 100644
--- a/src/libcamera/mapped_framebuffer.cpp
+++ b/src/libcamera/mapped_framebuffer.cpp
@@ -182,7 +182,8 @@ MappedFrameBuffer::MappedFrameBuffer(const FrameBuffer *buffer, MapFlags flags)
MAP_SHARED, plane.fd.fd(), 0);
if (address == MAP_FAILED) {
error_ = -errno;
- LOG(Buffer, Error) << "Failed to mmap plane";
+ LOG(Buffer, Error) << "Failed to mmap plane: "
+ << strerror(-error_);
break;
}