Added missing Prog.

This commit is contained in:
nekral-guest 2008-08-09 23:23:44 +00:00
parent 3a07026740
commit 9c050c54ef

View File

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