media: v4l2-ctrls: Fix missing newline in examples
authorMarek Vasut <marex@denx.de>
Sun, 26 Jun 2022 14:47:01 +0000 (15:47 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 8 Jul 2022 13:49:19 +0000 (14:49 +0100)
Replace supportedn with supported\n , i.e. add the missing backslash.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Documentation/userspace-api/media/v4l/control.rst

index 3eec651742605dd8ad857b99f5ff177b77c14918..4463fce694b08d2f6142b9636832ed8f0ea0f53a 100644 (file)
@@ -461,10 +461,10 @@ Example: Changing controls
            perror("VIDIOC_QUERYCTRL");
            exit(EXIT_FAILURE);
        } else {
-           printf("V4L2_CID_BRIGHTNESS is not supportedn");
+           printf("V4L2_CID_BRIGHTNESS is not supported\n");
        }
     } else if (queryctrl.flags & V4L2_CTRL_FLAG_DISABLED) {
-       printf("V4L2_CID_BRIGHTNESS is not supportedn");
+       printf("V4L2_CID_BRIGHTNESS is not supported\n");
     } else {
        memset(&control, 0, sizeof (control));
        control.id = V4L2_CID_BRIGHTNESS;