summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoravatar <avatar@FreeBSD.org>2015-09-01 22:35:53 +0000
committeravatar <avatar@FreeBSD.org>2015-09-01 22:35:53 +0000
commit49c820db709f5b2a0ac43ec2b24a3223ee1686fd (patch)
tree2dc7e29cab1f595ba965010669afe5d6eea17f3c /lib
parent2fa34e5809264269064cfede258aced90aee2795 (diff)
downloadFreeBSD-src-49c820db709f5b2a0ac43ec2b24a3223ee1686fd.zip
FreeBSD-src-49c820db709f5b2a0ac43ec2b24a3223ee1686fd.tar.gz
MFC r286887: Using the error return code documented in the comment.
Though there is no direct midi_uninit() caller amongst existing drivers at this moment, a quick experiment indicates that EBUSY gives users more precise error message once drivers start to honour this result. For example, emu_midi_detach() should check the result of mpu401_uninit() and block module unloading if there is any MIDI I/O in progress.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud