Fix crash caused by confusion between requested device and last used one
authorratchov <ratchov@openbsd.org>
Tue, 15 Mar 2022 05:53:37 +0000 (05:53 +0000)
committerratchov <ratchov@openbsd.org>
Tue, 15 Mar 2022 05:53:37 +0000 (05:53 +0000)
commit1d8c7cc522ac7bec41e7e1927cba9b27149f331f
tree5fef9d255ad229f79aa0cc967caef2aae522d370
parent8f0521b589d0e2203f015f39ba401ee85bf831e8
Fix crash caused by confusion between requested device and last used one

Found by and ok semarie@
usr.bin/sndiod/dev.c