summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/camera_sensor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/camera_sensor.cpp b/src/libcamera/camera_sensor.cpp
index d08bee0b..4585d6d3 100644
--- a/src/libcamera/camera_sensor.cpp
+++ b/src/libcamera/camera_sensor.cpp
@@ -539,7 +539,7 @@ int CameraSensor::sensorInfo(CameraSensorInfo *info) const
std::string CameraSensor::logPrefix() const
{
- return "'" + subdev_->entity()->name() + "'";
+ return "'" + entity_->name() + "'";
}
} /* namespace libcamera */