summaryrefslogtreecommitdiff
path: root/src/libcamera/base/timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/base/timer.cpp')
-rw-r--r--src/libcamera/base/timer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcamera/base/timer.cpp b/src/libcamera/base/timer.cpp
index 9c54352d..187336e3 100644
--- a/src/libcamera/base/timer.cpp
+++ b/src/libcamera/base/timer.cpp
@@ -96,7 +96,7 @@ void Timer::start(std::chrono::milliseconds duration)
void Timer::start(std::chrono::steady_clock::time_point deadline)
{
if (Thread::current() != thread()) {
- LOG(Timer, Error) << "Timer can't be started from another thread";
+ LOG(Timer, Error) << "Timer " << this << " << can't be started from another thread";
return;
}
@@ -128,7 +128,7 @@ void Timer::stop()
return;
if (Thread::current() != thread()) {
- LOG(Timer, Error) << "Timer can't be stopped from another thread";
+ LOG(Timer, Error) << "Timer " << this << " can't be stopped from another thread";
return;
}