libcamera: v4l2_subdevice: Fix LOG usage
Add the V4L2Subdev category to the last LOG() call requiring it. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
@@ -223,7 +223,8 @@ int V4L2Subdevice::setFormat(unsigned int pad, V4L2SubdeviceFormat *format)
|
||||
int ret = ioctl(fd_, VIDIOC_SUBDEV_S_FMT, &subdevFmt);
|
||||
if (ret) {
|
||||
ret = -errno;
|
||||
LOG(Error) << "Unable to set format: " << strerror(-ret);
|
||||
LOG(V4L2Subdev, Error)
|
||||
<< "Unable to set format: " << strerror(-ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user