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:
Kieran Bingham
2019-02-12 14:58:54 +00:00
parent 0a443b589b
commit 8cdc3148ad
+2 -1
View File
@@ -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;
}