diff --git a/src/libcamera/framebuffer.cpp b/src/libcamera/framebuffer.cpp
index d44a98babd05..337ea1155a38 100644
--- a/src/libcamera/framebuffer.cpp
+++ b/src/libcamera/framebuffer.cpp
@@ -247,7 +247,7 @@ FrameBuffer::FrameBuffer(const std::vector<Plane> &planes, unsigned int cookie)
 	}
 
 	LOG(Buffer, Debug)
-		<< "Buffer is " << (isContiguous ? "not " : "") << "contiguous";
+		<< "Buffer is " << (isContiguous ? "" : "not ") << "contiguous";
 
 	_d()->isContiguous_ = isContiguous;
 }
