diff --git a/usr.bin/xargs/xargs.c b/usr.bin/xargs/xargs.c index 227d9f52332a..c30934a7f289 100644 --- a/usr.bin/xargs/xargs.c +++ b/usr.bin/xargs/xargs.c @@ -100,7 +100,7 @@ main(int argc, char *argv[]) eofstr = ""; Jflag = nflag = 0; - (void)setlocale(LC_MESSAGES, ""); + (void)setlocale(LC_ALL, ""); /* * POSIX.2 limits the exec line length to ARG_MAX - 2K. Running that