Don't use an uninitialised softc pointer in midiread/midiwrite.
authorjsg <jsg@openbsd.org>
Fri, 22 May 2015 12:52:00 +0000 (12:52 +0000)
committerjsg <jsg@openbsd.org>
Fri, 22 May 2015 12:52:00 +0000 (12:52 +0000)
commitf14e0e786850404c04f1d9fe21e576f27db95a47
treed01dbd1b4c314e27da83b74cac9fe9b22f65dbf9
parent5c25cd37c4a609b52857c385051f36d0994b0163
Don't use an uninitialised softc pointer in midiread/midiwrite.
ok ratchov@
sys/dev/midi.c