]> git.sesse.net Git - vlc/blobdiff - src/playlist/loadsave.c
Remove remaining strerror() calls from core - refs #1297
[vlc] / src / playlist / loadsave.c
index 2d48375da53628eb64a10ff7e0fefae0c9cb3a72..55db54d2550abe88e4a5ddbe5c79c4cf9dfd8aa9 100644 (file)
@@ -55,8 +55,8 @@ int playlist_Export( playlist_t * p_playlist, const char *psz_filename ,
     p_export->p_file = utf8_fopen( psz_filename, "wt" );
     if( !p_export->p_file )
     {
-        msg_Err( p_playlist , "could not create playlist file %s"
-                 " (%s)", psz_filename, strerror(errno) );
+        msg_Err( p_playlist , "could not create playlist file %s (%m)",
+                 psz_filename );
         return VLC_EGENERIC;
     }