[libcamera-devel,v2,1/2] libcamera: formats: fix warning print
diff mbox series

Message ID 20220519070620.10373-1-tomi.valkeinen@ideasonboard.com
State Accepted
Commit 1d49b3999401c7678872617639d775979bb08794
Headers show
Series
  • [libcamera-devel,v2,1/2] libcamera: formats: fix warning print
Related show

Commit Message

Tomi Valkeinen May 19, 2022, 7:06 a.m. UTC
Remove extra "0x" from the print.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 src/libcamera/formats.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/src/libcamera/formats.cpp b/src/libcamera/formats.cpp
index afcaabc5..3e60ec7d 100644
--- a/src/libcamera/formats.cpp
+++ b/src/libcamera/formats.cpp
@@ -926,7 +926,7 @@  const PixelFormatInfo &PixelFormatInfo::info(const PixelFormat &format)
 	const auto iter = pixelFormatInfo.find(format);
 	if (iter == pixelFormatInfo.end()) {
 		LOG(Formats, Warning)
-			<< "Unsupported pixel format 0x"
+			<< "Unsupported pixel format "
 			<< utils::hex(format.fourcc());
 		return pixelFormatInfoInvalid;
 	}