* src/sulogin.c: Added Prog, needed because of the last xmalloc()
change.
This commit is contained in:
		| @@ -49,6 +49,8 @@ | ||||
| /* | ||||
|  * Global variables | ||||
|  */ | ||||
| const char *Prog; | ||||
|  | ||||
| static char name[BUFSIZ]; | ||||
| static char pass[BUFSIZ]; | ||||
|  | ||||
| @@ -101,6 +103,7 @@ static RETSIGTYPE catch_signals (unused int sig) | ||||
| 	tcsetattr (0, TCSANOW, &termio); | ||||
| #endif | ||||
|  | ||||
| 	Prog = Basename (argv[0]); | ||||
| 	(void) setlocale (LC_ALL, ""); | ||||
| 	(void) bindtextdomain (PACKAGE, LOCALEDIR); | ||||
| 	(void) textdomain (PACKAGE); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user