Merge pull request #445 from ikerexxe/pwck_segfault

pwck: fix segfault when calling fprintf()
This commit is contained in:
Serge Hallyn
2021-11-17 08:14:22 -06:00
committed by GitHub

View File

@ -857,6 +857,7 @@ int main (int argc, char **argv)
* Get my name so that I can use it to report errors.
*/
Prog = Basename (argv[0]);
shadow_logfd = stderr;
(void) setlocale (LC_ALL, "");
(void) bindtextdomain (PACKAGE, LOCALEDIR);