diff options
author | avatar <avatar@FreeBSD.org> | 2015-09-01 22:35:53 +0000 |
---|---|---|
committer | avatar <avatar@FreeBSD.org> | 2015-09-01 22:35:53 +0000 |
commit | 49c820db709f5b2a0ac43ec2b24a3223ee1686fd (patch) | |
tree | 2dc7e29cab1f595ba965010669afe5d6eea17f3c /lib | |
parent | 2fa34e5809264269064cfede258aced90aee2795 (diff) | |
download | FreeBSD-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