libcamera: device_enumerator: Downgrade skipped device errors to warnings
When a device is skipped by the udev-based enumerator a message is logged. Downgrade its severity to warning as the error isn't fatal. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
@@ -302,8 +302,8 @@ int DeviceEnumeratorUdev::enumerate()
|
||||
|
||||
dev = udev_device_new_from_syspath(udev_, syspath);
|
||||
if (!dev) {
|
||||
LOG(Error) << "Failed to get device for '" <<
|
||||
syspath << "', skipping";
|
||||
LOG(Warning) << "Failed to get device for '" <<
|
||||
syspath << "', skipping";
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user