Commit 6811c98c authored by Marek Vasut's avatar Marek Vasut Committed by Mauro Carvalho Chehab

media: v4l2-ctrls: Fix missing newline in examples

Replace supportedn with supported\n , i.e. add the missing backslash.
Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent ab14c99c
...@@ -461,10 +461,10 @@ Example: Changing controls ...@@ -461,10 +461,10 @@ Example: Changing controls
perror("VIDIOC_QUERYCTRL"); perror("VIDIOC_QUERYCTRL");
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} else { } else {
printf("V4L2_CID_BRIGHTNESS is not supportedn"); printf("V4L2_CID_BRIGHTNESS is not supported\n");
} }
} else if (queryctrl.flags & V4L2_CTRL_FLAG_DISABLED) { } else if (queryctrl.flags & V4L2_CTRL_FLAG_DISABLED) {
printf("V4L2_CID_BRIGHTNESS is not supportedn"); printf("V4L2_CID_BRIGHTNESS is not supported\n");
} else { } else {
memset(&control, 0, sizeof (control)); memset(&control, 0, sizeof (control));
control.id = V4L2_CID_BRIGHTNESS; control.id = V4L2_CID_BRIGHTNESS;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment