[vlc-devel] commit: More verbose error when failing to load the cache file ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Jan 30 22:54:35 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 30 23:29:10 2010 +0200| [a16618e41082c5c14a58fcd69ce8646e33a1c405] | committer: Rémi Denis-Courmont 

More verbose error when failing to load the cache file

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a16618e41082c5c14a58fcd69ce8646e33a1c405
---

 src/modules/cache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/modules/cache.c b/src/modules/cache.c
index d06a3c5..a872adc 100644
--- a/src/modules/cache.c
+++ b/src/modules/cache.c
@@ -113,7 +113,7 @@ void CacheLoad( vlc_object_t *p_this, module_bank_t *p_bank, bool b_delete )
     file = utf8_fopen( psz_filename, "rb" );
     if( !file )
     {
-        msg_Warn( p_this, "could not open plugins cache file %s for reading",
+        msg_Warn( p_this, "cannot read %s (%m)",
                   psz_filename );
         free( psz_filename );
         return;




More information about the vlc-devel mailing list