call _sndio_debug_init() in mio_rmidi_getfd()

This commit is contained in:
Alexandre Ratchov 2017-11-04 10:40:00 +01:00
parent 053efb5710
commit c0767fd171
1 changed files with 3 additions and 0 deletions

View File

@ -77,6 +77,9 @@ mio_rmidi_getfd(const char *str, unsigned int mode, int nbio)
#endif
int fd, flags;
#ifdef DEBUG
_sndio_debug_init();
#endif
p = _sndio_parsetype(str, "rmidi");
if (p == NULL) {
DPRINTF("mio_rmidi_getfd: %s: \"rsnd\" expected\n", str);