summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--partx/partx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/partx/partx.c b/partx/partx.c
index a42c1894f..b2a72ede3 100644
--- a/partx/partx.c
+++ b/partx/partx.c
@@ -640,6 +640,10 @@ int main(int argc, char **argv)
{ NULL, 0, NULL, 0 }
};
+ setlocale(LC_ALL, "");
+ bindtextdomain(PACKAGE, LOCALEDIR);
+ textdomain(PACKAGE);
+
while ((c = getopt_long(argc, argv,
"abdglrsvn:t:o:Ph", long_opts, NULL)) != -1) {