# HG changeset patch # User diego # Date 1311774016 0 # Node ID 77bf3809105153c006ff6caf5ed09b1fc3589e19 # Parent 1d054f341ec36bfef770255061999951dc4702e5 Clarify console output when reading optional configuration files. diff -r 1d054f341ec3 -r 77bf38091051 codec-cfg.c --- a/codec-cfg.c Wed Jul 27 13:40:13 2011 +0000 +++ b/codec-cfg.c Wed Jul 27 13:40:16 2011 +0000 @@ -555,10 +555,10 @@ #endif } - mp_msg(MSGT_CODECCFG, MSGL_V, "Reading %s: ", cfgfile); + mp_msg(MSGT_CODECCFG, MSGL_V, "Reading optional codecs config file %s: ", cfgfile); if ((fp = fopen(cfgfile, "r")) == NULL) { - mp_msg(MSGT_CODECCFG, MSGL_V, "Can't open '%s': %s\n", cfgfile, strerror(errno)); + mp_msg(MSGT_CODECCFG, MSGL_V, "%s\n", strerror(errno)); return 0; } diff -r 1d054f341ec3 -r 77bf38091051 input/input.c --- a/input/input.c Wed Jul 27 13:40:13 2011 +0000 +++ b/input/input.c Wed Jul 27 13:40:16 2011 +0000 @@ -1581,7 +1581,8 @@ fd = open(file,O_RDONLY); if(fd < 0) { - mp_msg(MSGT_INPUT,MSGL_V,"Can't open input config file %s: %s\n",file,strerror(errno)); + mp_msg(MSGT_INPUT, MSGL_V, "Reading optional input config file %s: %s\n", + file, strerror(errno)); return 0; }