]> git.sesse.net Git - vlc/blobdiff - modules/access_filter/timeshift.c
Replace strerror() with %m (or Linux DVB: strerror_r) - refs #1297
[vlc] / modules / access_filter / timeshift.c
index 49c49a353dfd1d29b0316c6ece8a9dc691125838..fd141c816851cb424c467ca94b18a484215c44fb 100644 (file)
@@ -422,8 +422,8 @@ static int WriteBlockToFile( access_t *p_access, block_t *p_block )
         if( !file && p_sys->i_files < 2 )
         {
             /* We just can't work with less than 2 buffer files */
-            msg_Err( p_access, "cannot open temporary file '%s' (%s)",
-                     p_sys->psz_filename, strerror(errno) );
+            msg_Err( p_access, "cannot open temporary file '%s' (%m)",
+                     p_sys->psz_filename );
             return VLC_EGENERIC;
         }
         else if( !file ) return VLC_EGENERIC;