[libcamera-devel] [PATCH 5/9] libcamera: device_enumerator: Fix wording of log message

Laurent Pinchart laurent.pinchart at ideasonboard.com
Thu Jan 3 02:31:06 CET 2019


The log message still refers to the DeviceInfo class that has been
removed. Replace it with a reference to MediaDevice.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
 src/libcamera/device_enumerator.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libcamera/device_enumerator.cpp b/src/libcamera/device_enumerator.cpp
index bc55a12f2a4e..ecd51bc1d108 100644
--- a/src/libcamera/device_enumerator.cpp
+++ b/src/libcamera/device_enumerator.cpp
@@ -153,7 +153,7 @@ DeviceEnumerator::~DeviceEnumerator()
 {
 	for (MediaDevice *dev : devices_) {
 		if (dev->busy())
-			LOG(Error) << "Removing device info while still in use";
+			LOG(Error) << "Removing media device while still in use";
 
 		delete dev;
 	}
-- 
Regards,

Laurent Pinchart



More information about the libcamera-devel mailing list