[media] DocBook: fix incorrect code example
The code said for (i = 0; i > 30; ++i) instead of i < 30. Fix this and clean it up a bit at the same time. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
078c580cb4
commit
26092ffb72
@ -61,7 +61,7 @@ if (-1 == ioctl (fd, VIDIOC_G_FBUF, &fbuf)) {
|
|||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i > 30; ++i) {
|
for (i = 0; i < 30; i++) {
|
||||||
char dev_name[16];
|
char dev_name[16];
|
||||||
struct fb_fix_screeninfo si;
|
struct fb_fix_screeninfo si;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user