summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index 4c5b14005..670024b2e 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -1070,7 +1070,7 @@ main(int argc, char **argv)
1070 /* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */ 1070 /* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */
1071 sanitise_stdfd(); 1071 sanitise_stdfd();
1072 1072
1073 __progname = ssh_get_progname(av[0]); 1073 __progname = ssh_get_progname(argv[0]);
1074 1074
1075 SSLeay_add_all_algorithms(); 1075 SSLeay_add_all_algorithms();
1076 log_init(argv[0], SYSLOG_LEVEL_INFO, SYSLOG_FACILITY_USER, 1); 1076 log_init(argv[0], SYSLOG_LEVEL_INFO, SYSLOG_FACILITY_USER, 1);