Pass progname to the printf call in usage().
This commit is contained in:
parent
460277ffdb
commit
bea110759f
@ -29,7 +29,7 @@ provided "as is" without express or implied warranty.
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$Id: newsyslog.c,v 1.8 1995/01/06 19:20:22 jtc Exp $";
|
||||
static char rcsid[] = "$Id: newsyslog.c,v 1.9 1995/01/21 21:53:46 jtc Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
#ifndef CONF
|
||||
@ -221,7 +221,7 @@ PRS(argc,argv)
|
||||
usage()
|
||||
{
|
||||
fprintf(stderr,
|
||||
"Usage: %s <-nrv> <-f config-file>\n");
|
||||
"Usage: %s <-nrv> <-f config-file>\n", progname);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user