From: Darren S. <li...@yo...> - 2010-07-17 22:05:27
|
# HG changeset patch # User Darren Salt <li...@yo...> # Date 1279366185 -3600 # Node ID 780082d471a14ba5226399ac09d7a9d91a3aee05 # Parent 80a96a21a581a854ceba0c1250bee00e9cab9f2b "Configuration loaded" log item. diff --git a/src/xine-engine/configfile.c b/src/xine-engine/configfile.c --- 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 @@ } 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) { |