Jeremie Courreges-Anglas <j...@openbsd.org> writes: > CVSROOT: /cvs > Module name: xenocara > Changes by: j...@cvs.openbsd.org 2016/09/16 14:29:03 > > Modified files: > app/video : video.c > > Log message: > Make video -i work ootb. > > video(1) uses mmap and ioctls by default, those ioctls only work on > video(4) devices. If -i is passed, use read(2) instead of the mmap(2) > routines, instead of requiring the user to pass also pass the -g flag.
oops, I forgot to add: the patch was from Gregor Best. Thanks! -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE