From 8cdc3148adb75e7854e8a1756de6095d8faf1656 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Tue, 12 Feb 2019 14:58:54 +0000 Subject: libcamera: v4l2_subdevice: Fix LOG usage Add the V4L2Subdev category to the last LOG() call requiring it. Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- src/libcamera/v4l2_subdevice.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libcamera/v4l2_subdevice.cpp') diff --git a/src/libcamera/v4l2_subdevice.cpp b/src/libcamera/v4l2_subdevice.cpp index 1d5b1111..17f715fe 100644 --- a/src/libcamera/v4l2_subdevice.cpp +++ b/src/libcamera/v4l2_subdevice.cpp @@ -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; } -- cgit v1.2.1