summaryrefslogtreecommitdiff
path: root/src/sum.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sum.c')
-rw-r--r--src/sum.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sum.c b/src/sum.c
index 413f8346e..df22ff897 100644
--- a/src/sum.c
+++ b/src/sum.c
@@ -207,6 +207,10 @@ main (int argc, char **argv)
int (*sum_func) () = bsd_sum_file;
program_name = argv[0];
+ setlocale (LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
+
have_read_stdin = 0;
while ((optc = getopt_long (argc, argv, "rs", longopts, (int *) 0)) != -1)