2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Fix typo; we want setlocale(LC_ALL, "") since we are setting the

locale for the first time.
This commit is contained in:
Todd C. Miller
2013-12-28 07:59:45 -07:00
parent 91db1efe91
commit a6e1766dd6
3 changed files with 3 additions and 3 deletions

View File

@@ -134,7 +134,7 @@ main(int argc, char *argv[])
initprogname(argc > 0 ? argv[0] : "testsudoers");
sudoers_initlocale(setlocale(LC_ALL, NULL), def_sudoers_locale);
sudoers_initlocale(setlocale(LC_ALL, ""), def_sudoers_locale);
bindtextdomain("sudoers", LOCALEDIR); /* XXX - should have own domain */
textdomain("sudoers");