mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-11-24 18:43:53 +08:00
ChangeLog, fsck.c:
fsck.c (compile_fs_type): Fix I18N compilation bug: use N_() instead of _() to initialize static variables.
This commit is contained in:
parent
c7f23364fd
commit
c7a24e461e
@ -1,3 +1,8 @@
|
||||
2001-05-23 Theodore Tso <tytso@valinux.com>
|
||||
|
||||
* fsck.c (compile_fs_type): Fix I18N compilation bug: use N_()
|
||||
instead of _() to initialize static variables.
|
||||
|
||||
2001-05-20 Theodore Tso <tytso@valinux.com>
|
||||
|
||||
* fsck.8.in, fsck.c (compile_fs_type, fs_type, ignore): Fix
|
||||
|
@ -627,8 +627,8 @@ struct fs_type_compile {
|
||||
#define FS_TYPE_NEGOPT 2
|
||||
|
||||
static const char *fs_type_syntax_error =
|
||||
_("Either all or none of the filesystem types passed to -t must be prefixed\n"
|
||||
"with 'no' or '!'.\n");
|
||||
N_("Either all or none of the filesystem types passed to -t must be prefixed\n"
|
||||
"with 'no' or '!'.\n");
|
||||
|
||||
static void compile_fs_type(char *fs_type, struct fs_type_compile *cmp)
|
||||
{
|
||||
@ -683,7 +683,7 @@ static void compile_fs_type(char *fs_type, struct fs_type_compile *cmp)
|
||||
}
|
||||
if ((negate && !cmp->negate) ||
|
||||
(!negate && cmp->negate)) {
|
||||
fprintf(stderr, fs_type_syntax_error);
|
||||
fprintf(stderr, _(fs_type_syntax_error));
|
||||
exit(EXIT_USAGE);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user