diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2010-07-19 14:58:01 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2010-07-19 14:58:01 +0100 |
commit | 9a1825f0c38bab7e3831da512db11e96ff2214d2 (patch) | |
tree | 1b508c776d2a7fa92b9ad1236ad65dbd230de757 /src/xine-engine | |
parent | 99fac65726da3158cfcbe2323fc15bca28d304df (diff) | |
parent | f5c747a4d6c1d01a5c15c5b5837a19ca0b4c8f1c (diff) | |
download | xine-lib-9a1825f0c38bab7e3831da512db11e96ff2214d2.tar.gz xine-lib-9a1825f0c38bab7e3831da512db11e96ff2214d2.tar.bz2 |
Merge from 1.1.
Diffstat (limited to 'src/xine-engine')
-rw-r--r-- | src/xine-engine/configfile.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xine-engine/configfile.c b/src/xine-engine/configfile.c index e014f4132..e5c42f6ea 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> @@ -1001,7 +1002,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) { |