summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xine-engine/configfile.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xine-engine/configfile.c b/src/xine-engine/configfile.c
index 8b274a801..484d1d16f 100644
--- a/src/xine-engine/configfile.c
+++ b/src/xine-engine/configfile.c
@@ -24,6 +24,7 @@
#include "config.h"
#endif
+#include <errno.h>
#include <time.h>
#include <sys/stat.h>
#include <sys/types.h>
@@ -987,7 +988,13 @@ void xine_config_load (xine_t *xine, const char *filename) {
}
fclose (f_config);
+ xine_log(xine, XINE_LOG_MSG,
+ _("Loaded configuration from file '%s'\n"), filename);
+
}
+ else if (errno != ENOENT)
+ xine_log(xine, XINE_LOG_MSG,
+ _("Failed to load configuration from file '%s': %s\n"), filename, strerror (errno));
}
void xine_config_save (xine_t *xine, const char *filename) {