Added missing Prog.

This commit is contained in:
nekral-guest 2008-08-09 23:24:15 +00:00
parent 9c050c54ef
commit 5c04fe9b61

View File

@ -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);