summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2001-05-23 22:26:39 +0000
committerTheodore Ts'o <tytso@mit.edu>2001-05-23 22:26:39 +0000
commitc7a24e461e024706aab0c698a0638f2ab2ed639f (patch)
tree0c217825347956be4ab3632528f0608d7d82d9e5
parentc7f23364fd6d8d25d74e51ba5f342fc2230048d8 (diff)
downloade2fsprogs-c7a24e461e024706aab0c698a0638f2ab2ed639f.tar.gz
ChangeLog, fsck.c:
fsck.c (compile_fs_type): Fix I18N compilation bug: use N_() instead of _() to initialize static variables.
-rw-r--r--misc/ChangeLog5
-rw-r--r--misc/fsck.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/misc/ChangeLog b/misc/ChangeLog
index ac3ac067..3044d7f8 100644
--- a/misc/ChangeLog
+++ b/misc/ChangeLog
@@ -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
diff --git a/misc/fsck.c b/misc/fsck.c
index 0f233e1b..e242b97e 100644
--- a/misc/fsck.c
+++ b/misc/fsck.c
@@ -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);
}
}