Merge pull request #445 from ikerexxe/pwck_segfault
pwck: fix segfault when calling fprintf()
This commit is contained in:
commit
6c4545544f
@ -857,6 +857,7 @@ int main (int argc, char **argv)
|
|||||||
* Get my name so that I can use it to report errors.
|
* Get my name so that I can use it to report errors.
|
||||||
*/
|
*/
|
||||||
Prog = Basename (argv[0]);
|
Prog = Basename (argv[0]);
|
||||||
|
shadow_logfd = stderr;
|
||||||
|
|
||||||
(void) setlocale (LC_ALL, "");
|
(void) setlocale (LC_ALL, "");
|
||||||
(void) bindtextdomain (PACKAGE, LOCALEDIR);
|
(void) bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
|
Loading…
Reference in New Issue
Block a user