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:
parent
9f5d6ee69f
commit
b63209a793
1 changed files with 2 additions and 2 deletions
|
@ -302,7 +302,7 @@ int DeviceEnumeratorUdev::enumerate()
|
|||
|
||||
dev = udev_device_new_from_syspath(udev_, syspath);
|
||||
if (!dev) {
|
||||
LOG(Error) << "Failed to get device for '" <<
|
||||
LOG(Warning) << "Failed to get device for '" <<
|
||||
syspath << "', skipping";
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue