summaryrefslogtreecommitdiff
path: root/usr.bin/sndioctl/sndioctl.c
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2020-06-18 05:11:14 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2020-06-18 05:11:14 +0000
commit24f535829162c70be3822863490dcbabdd5d0289 (patch)
tree6b99c6998cff7524870a41d5de6cbb75ab3e41cd /usr.bin/sndioctl/sndioctl.c
parent33e6194075f4a8a6c0cf7380e0eb40b1a8011e65 (diff)
Don't try to open device that's already open
Save the current alternate device index and skip it in dev_reopen(). Handling alternate device indices this way will ease future development as well.
Diffstat (limited to 'usr.bin/sndioctl/sndioctl.c')
0 files changed, 0 insertions, 0 deletions