--- mingetty-1.00~/mingetty.c 2002-06-04 00:39:20 +0400 +++ mingetty-1.00/mingetty.c 2002-06-04 00:52:09 +0400 @@ -58,7 +58,6 @@ #define LOGIN " login: " /* login prompt */ /* name of this program (argv[0]) */ -static char *progname; /* on which tty line are we sitting? (e.g. tty1) */ static char *tty; /* some information about this host */ @@ -380,7 +380,7 @@ static void usage (void) { - error ("usage: '%s tty' with e.g. tty=tty1", progname); + error ("usage: '%s tty' with e.g. tty=tty1", program_invocation_short_name); } static struct option const long_options[] = { @@ -397,7 +397,6 @@ char *logname, *s; int c; - progname = argv[0]; uname (&uts); gethostname (hn, MAXHOSTNAMELEN); pid = getpid ();