diff options
Diffstat (limited to 'sunrpc')
-rw-r--r-- | sunrpc/rpc_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sunrpc/rpc_main.c b/sunrpc/rpc_main.c index 1477b43a7d..d03ec991ea 100644 --- a/sunrpc/rpc_main.c +++ b/sunrpc/rpc_main.c @@ -39,6 +39,7 @@ #include <string.h> #include <unistd.h> #include <libintl.h> +#include <locale.h> #include <ctype.h> #include <sys/types.h> #include <sys/param.h> @@ -173,6 +174,9 @@ main (int argc, const char *argv[]) { struct commandline cmd; + setlocale (LC_ALL, ""); + textdomain (_libc_intl_domainname); + (void) memset ((char *) &cmd, 0, sizeof (struct commandline)); clear_args (); if (!parseargs (argc, argv, &cmd)) |