Ticket# 2990: prepare to 4.8.9 release.

(mcview_load): clarify error message.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2013-06-17 14:02:00 +04:00
parent 90209d3097
commit 805bb61c2a

View File

@ -376,7 +376,7 @@ mcview_load (mcview_t * view, const char *command, const char *file, int start_l
fd1 = mc_open (vpath1, O_RDONLY | O_NONBLOCK); fd1 = mc_open (vpath1, O_RDONLY | O_NONBLOCK);
if (fd1 == -1) if (fd1 == -1)
{ {
g_snprintf (tmp, sizeof (tmp), _("Cannot open \"%s\" in magic mode\n%s"), g_snprintf (tmp, sizeof (tmp), _("Cannot open \"%s\" in parse mode\n%s"),
file, unix_error_string (errno)); file, unix_error_string (errno));
mcview_show_error (view, tmp); mcview_show_error (view, tmp);
} }