From c76af03f4e38d0d4895389dde83b2be95fedd097 Mon Sep 17 00:00:00 2001 From: Abramo Bagnara Date: Thu, 8 Mar 2001 14:20:32 +0000 Subject: [PATCH] Better diagnostic for config load failure --- src/conf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/conf.c b/src/conf.c index c2cd1cb0..080769fe 100644 --- a/src/conf.c +++ b/src/conf.c @@ -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; } -- 2.47.1