summaryrefslogtreecommitdiff
path: root/misc/badblocks.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2002-03-05 03:26:52 -0500
committerTheodore Ts'o <tytso@mit.edu>2002-03-05 03:26:52 -0500
commit14308a5398984842e808faa3ff2dd6a1c52d90bd (patch)
tree3a17f9f359ccb7f1d4e2104c9eeb2b3a2ce4cb9b /misc/badblocks.c
parent7380ac903316c0fe91ed6706eb4d84249a9b348d (diff)
downloade2fsprogs-14308a5398984842e808faa3ff2dd6a1c52d90bd.tar.gz
Newer libintl needs LC_CTYPE to be set in addition to LC_MESSAGES.
Diffstat (limited to 'misc/badblocks.c')
-rw-r--r--misc/badblocks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/badblocks.c b/misc/badblocks.c
index b057f8af..38106153 100644
--- a/misc/badblocks.c
+++ b/misc/badblocks.c
@@ -651,6 +651,7 @@ int main (int argc, char ** argv)
setbuf(stderr, NULL);
#ifdef ENABLE_NLS
setlocale(LC_MESSAGES, "");
+ setlocale(LC_CTYPE, "");
bindtextdomain(NLS_CAT_NAME, LOCALEDIR);
textdomain(NLS_CAT_NAME);
#endif