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:
@@ -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");
|
||||
|
||||
|
Reference in New Issue
Block a user