summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/lib/roken/getaddrinfo-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/heimdal/lib/roken/getaddrinfo-test.c')
-rw-r--r--crypto/heimdal/lib/roken/getaddrinfo-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/heimdal/lib/roken/getaddrinfo-test.c b/crypto/heimdal/lib/roken/getaddrinfo-test.c
index 0e3afc5..4274081 100644
--- a/crypto/heimdal/lib/roken/getaddrinfo-test.c
+++ b/crypto/heimdal/lib/roken/getaddrinfo-test.c
@@ -33,7 +33,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
-RCSID("$Id: getaddrinfo-test.c,v 1.3 2000/07/08 14:22:09 assar Exp $");
+RCSID("$Id: getaddrinfo-test.c,v 1.4 2001/02/20 01:44:54 assar Exp $");
#endif
#include "roken.h"
@@ -112,7 +112,7 @@ main(int argc, char **argv)
int optind = 0;
int i;
- set_progname (argv[0]);
+ setprogname (argv[0]);
if (getarg (args, sizeof(args) / sizeof(args[0]), argc, argv,
&optind))
@@ -122,7 +122,7 @@ main(int argc, char **argv)
usage (0);
if (version_flag) {
- fprintf (stderr, "%s from %s-%s)\n", __progname, PACKAGE, VERSION);
+ fprintf (stderr, "%s from %s-%s)\n", getprogname(), PACKAGE, VERSION);
return 0;
}
OpenPOWER on IntegriCloud