summaryrefslogtreecommitdiffstats
path: root/disk-utils/fsck.cramfs.c
diff options
context:
space:
mode:
authorKarel Zak2013-10-18 10:57:20 +0200
committerKarel Zak2013-10-18 11:38:02 +0200
commit5d4ece6ea131be2e8fbf47097fc44382566a7fd5 (patch)
tree0529ac48d22f44f533c70a568cf6cc42d213f62c /disk-utils/fsck.cramfs.c
parentpg: use LC_ALL (diff)
downloadkernel-qcow2-util-linux-5d4ece6ea131be2e8fbf47097fc44382566a7fd5.tar.gz
kernel-qcow2-util-linux-5d4ece6ea131be2e8fbf47097fc44382566a7fd5.tar.xz
kernel-qcow2-util-linux-5d4ece6ea131be2e8fbf47097fc44382566a7fd5.zip
fsck.cramfs: add LC_CTYPE
Maybe it would be possible to use LC_ALL, but it requires to review the code to check if there is no any sensitive code. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/fsck.cramfs.c')
-rw-r--r--disk-utils/fsck.cramfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/disk-utils/fsck.cramfs.c b/disk-utils/fsck.cramfs.c
index cd23345e3..66523f4de 100644
--- a/disk-utils/fsck.cramfs.c
+++ b/disk-utils/fsck.cramfs.c
@@ -657,6 +657,7 @@ int main(int argc, char **argv)
};
setlocale(LC_MESSAGES, "");
+ setlocale(LC_CTYPE, "");
bindtextdomain(PACKAGE, LOCALEDIR);
textdomain(PACKAGE);
atexit(close_stdout);