summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sshd.c b/sshd.c
index 2408fcb5a..015eeac9a 100644
--- a/sshd.c
+++ b/sshd.c
@@ -895,6 +895,7 @@ main(int ac, char **av)
895 895
896 /* Save argv. Duplicate so setproctitle emulation doesn't clobber it */ 896 /* Save argv. Duplicate so setproctitle emulation doesn't clobber it */
897 saved_argc = ac; 897 saved_argc = ac;
898 rexec_argc = ac;
898 saved_argv = xmalloc(sizeof(*saved_argv) * (ac + 1)); 899 saved_argv = xmalloc(sizeof(*saved_argv) * (ac + 1));
899 for (i = 0; i < ac; i++) 900 for (i = 0; i < ac; i++)
900 saved_argv[i] = xstrdup(av[i]); 901 saved_argv[i] = xstrdup(av[i]);