* sfs.c (sfs_init): Parametrize sfs.ini to allow reuse of the

messages in other places.
This commit is contained in:
Pavel Roskin 2002-09-26 22:51:27 +00:00
parent 758842a16d
commit bbc35a31cf
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-09-26 Pavel Roskin <proski@gnu.org>
* sfs.c (sfs_init): Parametrize sfs.ini to allow reuse of the
messages in other places.
2002-09-25 Pavel Roskin <proski@gnu.org>
* vfs.c (vfs_parse_filemode): Fix parsing for filenames that

View File

@ -330,7 +330,8 @@ static int sfs_init (vfs *me)
}
if (!semi){
fprintf (stderr, _("Warning: Invalid line in sfs.ini:\n%s\n"), key);
fprintf (stderr, _("Warning: Invalid line in %s:\n%s\n"),
"sfs.ini", key);
continue;
}
@ -341,7 +342,8 @@ static int sfs_init (vfs *me)
case '2': flags |= F_2; break;
case 'R': flags |= F_NOLOCALCOPY; break;
default:
fprintf (stderr, _("Warning: Invalid flag %c in sfs.ini:\n%s\n"), *c, key);
fprintf (stderr, _("Warning: Invalid flag %c in %s:\n%s\n"),
*c, "sfs.ini", key);
}
c++;
}