]> git.sesse.net Git - vlc/commitdiff
Remove last occurences - fixes #1297
authorRémi Denis-Courmont <rem@videolan.org>
Tue, 18 Sep 2007 16:32:17 +0000 (16:32 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Tue, 18 Sep 2007 16:32:17 +0000 (16:32 +0000)
modules/access/file.c

index bcdf0a732f51e4e905acfa11fc4ba4f695445eee..2ac89bd831644b770ba89c518a9beaa96de43381 100644 (file)
@@ -278,10 +278,8 @@ static int Read( access_t *p_access, uint8_t *p_buffer, int i_len )
 
             default:
                 msg_Err (p_access, "read failed (%m)");
-                /* FIXME: DO NOT USE strerror!!!! */
                 intf_UserFatal (p_access, VLC_FALSE, _("File reading failed"),
-                                _("VLC could not read file \"%s\"."),
-                                strerror (errno));
+                                _("VLC could not read file."));
         }
 
         /* Delay a bit to avoid consuming all the CPU. This is particularly
@@ -448,8 +446,7 @@ static int open_file (access_t *p_access, const char *psz_name)
     {
         msg_Err (p_access, "cannot open file %s (%m)", psz_name);
         intf_UserFatal (p_access, VLC_FALSE, _("File reading failed"),
-                        _("VLC could not open file \"%s\" (%s)."),
-                        psz_name, strerror (errno));
+                        _("VLC could not open file \"%s\"."), psz_name);
         return -1;
     }