Fixed small bug in error handling

This commit is contained in:
Peter Hanappe 2003-11-26 22:07:01 +00:00
parent 00bfe830f3
commit f5f0f2b434

View file

@ -213,6 +213,9 @@ new_fluid_alsa_audio_driver2(fluid_settings_t* settings,
if (err == -EBUSY) { if (err == -EBUSY) {
FLUID_LOG(FLUID_ERR, "The \"%s\" audio device is used by another application", device); FLUID_LOG(FLUID_ERR, "The \"%s\" audio device is used by another application", device);
goto error_recovery; goto error_recovery;
} else {
FLUID_LOG(FLUID_ERR, "Failed to open the \"%s\" audio device", device);
goto error_recovery;
} }
} }