Added missing Prog.
This commit is contained in:
parent
9c050c54ef
commit
5c04fe9b61
@ -47,6 +47,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;
|
||||||
|
|
||||||
@ -79,7 +80,7 @@ int main (int argc, char **argv)
|
|||||||
struct passwd pwent;
|
struct passwd pwent;
|
||||||
const struct spwd *spwd;
|
const struct spwd *spwd;
|
||||||
|
|
||||||
char *Prog = argv[0];
|
Prog = Basename (argv[0]);
|
||||||
|
|
||||||
(void) setlocale (LC_ALL, "");
|
(void) setlocale (LC_ALL, "");
|
||||||
(void) bindtextdomain (PACKAGE, LOCALEDIR);
|
(void) bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
|
Loading…
Reference in New Issue
Block a user