Added missing Prog.
This commit is contained in:
parent
3a07026740
commit
9c050c54ef
@ -83,6 +83,7 @@
|
|||||||
/*
|
/*
|
||||||
* Global variables
|
* Global variables
|
||||||
*/
|
*/
|
||||||
|
static char *Prog;
|
||||||
static bool shadow_locked = false;
|
static bool shadow_locked = false;
|
||||||
static bool passwd_locked = false;
|
static bool passwd_locked = false;
|
||||||
|
|
||||||
@ -118,6 +119,8 @@ int main (int argc, char **argv)
|
|||||||
struct spwd spent;
|
struct spwd spent;
|
||||||
char *Prog = argv[0];
|
char *Prog = argv[0];
|
||||||
|
|
||||||
|
Prog = Basename (argv[0]);
|
||||||
|
|
||||||
(void) setlocale (LC_ALL, "");
|
(void) setlocale (LC_ALL, "");
|
||||||
(void) bindtextdomain (PACKAGE, LOCALEDIR);
|
(void) bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
(void) textdomain (PACKAGE);
|
(void) textdomain (PACKAGE);
|
||||||
|
Loading…
Reference in New Issue
Block a user