Better diagnostic for config load failure

This commit is contained in:
Abramo Bagnara 2001-03-08 14:20:32 +00:00
parent 751c88c0e6
commit c76af03f4e

View file

@ -1066,6 +1066,7 @@ int snd_config_update()
err = snd_config_load(snd_config, in);
snd_input_close(in);
if (err < 0) {
SNDERR(SYS_ASOUNDRC " may be old or corrupted: consider to remove or fix it");
snd_config = NULL;
return err;
}
@ -1078,6 +1079,7 @@ int snd_config_update()
err = snd_config_load(snd_config, in);
snd_input_close(in);
if (err < 0) {
SNDERR("%s may be old or corrupted: consider to remove or fix it", usr_asoundrc);
snd_config = NULL;
return err;
}