]> err.no Git - util-linux/commitdiff
mkfs.cramfs: switch on localization.
authorBenno Schulenberg <bensberg@justemail.net>
Mon, 7 Apr 2008 20:50:22 +0000 (22:50 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 7 Apr 2008 23:44:51 +0000 (01:44 +0200)
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
disk-utils/mkfs.cramfs.c

index e61ac9e10c67e3acaf1e64243e044e0c82026e24..8f3feb6e64d99cecef2443a165cbe28b83903922 100644 (file)
@@ -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) {