If /dev/video* is already used by an application, return EBUSY to other
authormglocker <mglocker@openbsd.org>
Wed, 23 Jul 2008 22:10:21 +0000 (22:10 +0000)
committermglocker <mglocker@openbsd.org>
Wed, 23 Jul 2008 22:10:21 +0000 (22:10 +0000)
commit2f7891056916b2b6c182c47a4d9ce1a5e33cd307
treeebe5e82d7f4659fb822840d7d6e914937b242a08
parentfa3e22b8cc4d5ffff4f636d1c002ad14af247d35
If /dev/video* is already used by an application, return EBUSY to other
applications.  Fixes a kernel panic.

Reported by ian@
sys/dev/video.c
sys/dev/videovar.h