Commit 50852e85 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove last occurences - fixes #1297

parent 7acc46c4
...@@ -278,10 +278,8 @@ static int Read( access_t *p_access, uint8_t *p_buffer, int i_len ) ...@@ -278,10 +278,8 @@ static int Read( access_t *p_access, uint8_t *p_buffer, int i_len )
default: default:
msg_Err (p_access, "read failed (%m)"); msg_Err (p_access, "read failed (%m)");
/* FIXME: DO NOT USE strerror!!!! */
intf_UserFatal (p_access, VLC_FALSE, _("File reading failed"), intf_UserFatal (p_access, VLC_FALSE, _("File reading failed"),
_("VLC could not read file \"%s\"."), _("VLC could not read file."));
strerror (errno));
} }
/* Delay a bit to avoid consuming all the CPU. This is particularly /* 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) ...@@ -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); msg_Err (p_access, "cannot open file %s (%m)", psz_name);
intf_UserFatal (p_access, VLC_FALSE, _("File reading failed"), intf_UserFatal (p_access, VLC_FALSE, _("File reading failed"),
_("VLC could not open file \"%s\" (%s)."), _("VLC could not open file \"%s\"."), psz_name);
psz_name, strerror (errno));
return -1; return -1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment