summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ssh.c b/ssh.c
index ab32e3b8d..a1cedc7e0 100644
--- a/ssh.c
+++ b/ssh.c
@@ -62,9 +62,9 @@ RCSID("$OpenBSD: ssh.c,v 1.72 2000/11/12 19:50:38 markus Exp $");
62 62
63#ifdef HAVE___PROGNAME 63#ifdef HAVE___PROGNAME
64extern char *__progname; 64extern char *__progname;
65#else /* HAVE___PROGNAME */ 65#else
66static const char *__progname = "ssh"; 66char *__progname;
67#endif /* HAVE___PROGNAME */ 67#endif
68 68
69/* Flag indicating whether IPv4 or IPv6. This can be set on the command line. 69/* Flag indicating whether IPv4 or IPv6. This can be set on the command line.
70 Default value is AF_UNSPEC means both IPv4 and IPv6. */ 70 Default value is AF_UNSPEC means both IPv4 and IPv6. */
@@ -237,6 +237,7 @@ main(int ac, char **av)
237 int dummy; 237 int dummy;
238 uid_t original_effective_uid; 238 uid_t original_effective_uid;
239 239
240 __progname = get_progname(av[0]);
240 init_rng(); 241 init_rng();
241 242
242 /* 243 /*