From: Benno Schulenberg Date: Mon, 7 Apr 2008 20:50:22 +0000 (+0200) Subject: mkfs.cramfs: switch on localization. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d57c1f09ed707c6e6e136881624a4db0c064c0f;p=util-linux mkfs.cramfs: switch on localization. Signed-off-by: Benno Schulenberg --- diff --git a/disk-utils/mkfs.cramfs.c b/disk-utils/mkfs.cramfs.c index e61ac9e1..8f3feb6e 100644 --- a/disk-utils/mkfs.cramfs.c +++ b/disk-utils/mkfs.cramfs.c @@ -745,6 +745,10 @@ int main(int argc, char **argv) progname = p+1; } + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + /* command line options */ while ((c = getopt(argc, argv, "hb:Ee:i:n:psVvz")) != EOF) { switch (c) {