diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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]); |