* vfs.c (mc_def_ungetlocalcopy): Fix missed "%s".
* utilvfs.c (vfs_parse_ls_lga): Likewise.
Этот коммит содержится в:
родитель
1256c7d4fa
Коммит
2f7bbc2c31
@ -1,3 +1,8 @@
|
||||
2004-03-07 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||
|
||||
* vfs.c (mc_def_ungetlocalcopy): Fix missed "%s".
|
||||
* utilvfs.c (vfs_parse_ls_lga): Likewise.
|
||||
|
||||
2004-01-27 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* smbfs.c (smbfs_reconnect): Revert changes in a translated
|
||||
|
@ -833,10 +833,10 @@ vfs_parse_ls_lga (const char *p, struct stat *s, char **filename,
|
||||
static int errorcount = 0;
|
||||
|
||||
if (++errorcount < 5) {
|
||||
message (1, _("Cannot parse:"),
|
||||
message (1, _("Cannot parse:"), "%s",
|
||||
(p_copy && *p_copy) ? p_copy : line);
|
||||
} else if (errorcount == 5)
|
||||
message (1, _("Error"),
|
||||
message (1, MSG_ERROR,
|
||||
_("More parsing errors will be ignored."));
|
||||
}
|
||||
|
||||
@ -847,7 +847,7 @@ vfs_parse_ls_lga (const char *p, struct stat *s, char **filename,
|
||||
void
|
||||
vfs_die (const char *m)
|
||||
{
|
||||
message (1, _("Internal error:"), m);
|
||||
message (1, _("Internal error:"), "%s", m);
|
||||
exit (1);
|
||||
}
|
||||
|
||||
|
@ -877,7 +877,7 @@ mc_def_ungetlocalcopy (struct vfs_class *vfs, const char *filename,
|
||||
return 0;
|
||||
|
||||
failed:
|
||||
message (1, _("Changes to file lost"), filename);
|
||||
message (1, _("Changes to file lost"), "%s", filename);
|
||||
if (fdout != -1)
|
||||
mc_close (fdout);
|
||||
if (fdin != -1)
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user