diff options
author | Damien Miller <djm@mindrot.org> | 2001-07-14 12:19:36 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-07-14 12:19:36 +1000 |
commit | efb1edfc7fb393b8de2f50efa77c006f3bfe5394 (patch) | |
tree | 022862ca6ba02c141299c8aff994f19512ec48e1 /session.c | |
parent | f4614450d10eaef8c256a561e9b7887c31333e09 (diff) |
- deraadt@cvs.openbsd.org 2001/07/09 07:04:53
[session.c sftp-int.c]
correct type on last arg to execl(); nordin@cse.ogi.edu
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -33,7 +33,7 @@ | |||
33 | */ | 33 | */ |
34 | 34 | ||
35 | #include "includes.h" | 35 | #include "includes.h" |
36 | RCSID("$OpenBSD: session.c,v 1.98 2001/07/02 13:59:15 markus Exp $"); | 36 | RCSID("$OpenBSD: session.c,v 1.99 2001/07/09 07:04:53 deraadt Exp $"); |
37 | 37 | ||
38 | #include "ssh.h" | 38 | #include "ssh.h" |
39 | #include "ssh1.h" | 39 | #include "ssh1.h" |
@@ -1499,7 +1499,7 @@ do_child(Session *s, const char *command) | |||
1499 | #ifdef LOGIN_NEEDS_TERM | 1499 | #ifdef LOGIN_NEEDS_TERM |
1500 | s->term? s->term : "unknown", | 1500 | s->term? s->term : "unknown", |
1501 | #endif | 1501 | #endif |
1502 | "-p", "-f", "--", pw->pw_name, NULL); | 1502 | "-p", "-f", "--", pw->pw_name, (char *)NULL); |
1503 | 1503 | ||
1504 | /* Login couldn't be executed, die. */ | 1504 | /* Login couldn't be executed, die. */ |
1505 | 1505 | ||