Skip to contentSkip to conversation

media: v4l2-ctrls: Fix missing newline in examples

PATCH New Marek Vasut 1 participant 1 message Jun 26, 2022 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: v4l2-ctrls: Fix missing newline in examples

Replace supportedn with supported\n , i.e. add the missing backslash.

Cc Hans Verkuil <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
---
 Documentation/userspace-api/media/v4l/control.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/userspace-api/media/v4l/control.rst +2 -2
index 3eec651742605..4463fce694b08 100644
@@ -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;
Signature · 1 line
2.35.1