[media] Fix mmap() example in the V4L2 API DocBook
authorPawel Osciak <pawel@osciak.com>
Wed, 12 Jan 2011 08:57:26 +0000 (05:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:31:35 +0000 (20:31 -0300)
commitc4c0a78d459f2e4fcc7c4f3621a34e71ec7970d0
tree9bdbd40352a767b5dbec95aee82d514bf65da08e
parent08b99e26a347441c50c1113802801a122dd1eb7a
[media] Fix mmap() example in the V4L2 API DocBook

Correct ioctl return value handling and fix coding style issues.

[mchehab@redhat.com: return -1 is OK, according with ioctl manpages. Reverting ioctl changes]
Signed-off-by: Pawel Osciak <pawel@osciak.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/DocBook/v4l/io.xml