s/[gs]et_progname/[gs]etprogname/

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9704 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2001-02-20 01:44:56 +00:00
parent 8336a2da12
commit 67422a6b02
48 changed files with 55 additions and 55 deletions

View File

@@ -870,7 +870,7 @@ usage (int ret)
NULL,
"");
else
syslog (LOG_ERR, "Usage: %s [-ikxlvPL] [-p port]", __progname);
syslog (LOG_ERR, "Usage: %s [-ikxlvPL] [-p port]", getprogname());
exit (ret);
}
@@ -881,7 +881,7 @@ main(int argc, char **argv)
int optind = 0;
int port = 0;
set_progname (argv[0]);
setprogname (argv[0]);
roken_openlog ("rshd", LOG_ODELAY | LOG_PID, LOG_AUTH);
if (getarg(args, sizeof(args) / sizeof(args[0]), argc, argv,