summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2019-01-15 09:44:01 +0100
committerJacopo Mondi <jacopo@jmondi.org>2019-01-15 09:44:01 +0100
commitf1caaaf387dd707a6bcdd2216ba74813398fe82d (patch)
tree0263c429a8c2e619ce32633fd26b381bc6c87e37 /src
parentfd0339da1a7c989a0677fb56168839972db9e2ba (diff)
libcamera: Debug printouts fixes
Address a few issues I missed during patch review. Minor cosmetic change. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/device_enumerator.cpp4
-rw-r--r--src/libcamera/pipeline_handler.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libcamera/device_enumerator.cpp b/src/libcamera/device_enumerator.cpp
index febb83da..1653e4f4 100644
--- a/src/libcamera/device_enumerator.cpp
+++ b/src/libcamera/device_enumerator.cpp
@@ -252,8 +252,8 @@ MediaDevice *DeviceEnumerator::search(const DeviceMatch &dm) const
continue;
if (dm.match(dev)) {
- LOG(Debug) << "Successful match for media device "
- << dev->driver();
+ LOG(Debug) << "Successful match for media device \""
+ << dev->driver() << "\"";
return dev;
}
}
diff --git a/src/libcamera/pipeline_handler.cpp b/src/libcamera/pipeline_handler.cpp
index b5a85749..1daada86 100644
--- a/src/libcamera/pipeline_handler.cpp
+++ b/src/libcamera/pipeline_handler.cpp
@@ -116,7 +116,7 @@ void PipelineHandlerFactory::registerType(const std::string &name,
return;
}
- LOG(Debug) << "Registered pipeline handler: \"" << name << "\"";
+ LOG(Debug) << "Registered pipeline handler \"" << name << "\"";
factories[name] = factory;
}