diff options
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |
64 | extern char *__progname; | 64 | extern char *__progname; |
65 | #else /* HAVE___PROGNAME */ | 65 | #else |
66 | static const char *__progname = "ssh"; | 66 | char *__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 | /* |