summaryrefslogtreecommitdiff
path: root/libexec/telnetd/sys_term.c
diff options
context:
space:
mode:
authorHans Insulander <hin@cvs.openbsd.org>2001-06-26 04:57:45 +0000
committerHans Insulander <hin@cvs.openbsd.org>2001-06-26 04:57:45 +0000
commit5dd90aa4527c92a41b35cb213e76451fc5598a2e (patch)
tree76f982c70b532b8bb48e7b38793d32ee5ef1b235 /libexec/telnetd/sys_term.c
parent0cbe16d93e279506d912159a3f989a71807a608f (diff)
-Wall -Werror cleanup
Diffstat (limited to 'libexec/telnetd/sys_term.c')
-rw-r--r--libexec/telnetd/sys_term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/telnetd/sys_term.c b/libexec/telnetd/sys_term.c
index 8ffc44e25a5..67a0a5e7dbd 100644
--- a/libexec/telnetd/sys_term.c
+++ b/libexec/telnetd/sys_term.c
@@ -1368,7 +1368,7 @@ start_login(const char *host, int autologin, char *name)
*/
sleep(1);
- execv(new_login, argv.argv);
+ execv(new_login, (char *const*)argv.argv);
save_errno = errno;
syslog(LOG_ERR, "%s: %m\n", new_login);
fatalperror_errno(net, new_login, save_errno);