diff options
Diffstat (limited to 'usr.bin/du')
-rw-r--r-- | usr.bin/du/du.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/du/du.c b/usr.bin/du/du.c index 6b85e17..b86c180 100644 --- a/usr.bin/du/du.c +++ b/usr.bin/du/du.c @@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$"); #include <fnmatch.h> #include <fts.h> #include <libutil.h> +#include <locale.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -89,6 +90,8 @@ main(int argc, char *argv[]) char **save; static char dot[] = "."; + setlocale(LC_ALL, ""); + Hflag = Lflag = Pflag = aflag = sflag = dflag = cflag = hflag = 0; save = argv; |