diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libcamera/device_enumerator.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcamera/device_enumerator.cpp b/src/libcamera/device_enumerator.cpp index 5a9d3353..abbd0ef7 100644 --- a/src/libcamera/device_enumerator.cpp +++ b/src/libcamera/device_enumerator.cpp @@ -234,7 +234,8 @@ int DeviceEnumerator::addDevice(const std::string &deviceNode) if (entity->deviceMajor() == 0 && entity->deviceMinor() == 0) continue; - std::string deviceNode = lookupDeviceNode(entity->deviceMajor(), entity->deviceMinor()); + std::string deviceNode = lookupDeviceNode(entity->deviceMajor(), + entity->deviceMinor()); if (deviceNode.empty()) return -EINVAL; |