diff --git a/crypto/dist/ssh/clientloop.c b/crypto/dist/ssh/clientloop.c index 0fca226825ad..37a30f9b27d1 100644 --- a/crypto/dist/ssh/clientloop.c +++ b/crypto/dist/ssh/clientloop.c @@ -1,4 +1,4 @@ -/* $NetBSD: clientloop.c,v 1.13 2001/11/27 04:10:23 itojun Exp $ */ +/* $NetBSD: clientloop.c,v 1.14 2001/11/30 00:46:36 thorpej Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -950,7 +950,7 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id) if (received_signal) { if (in_non_blocking_mode) /* XXX */ leave_non_blocking(); - fatal("Killed by signal %d.", received_signal); + fatal("Killed by signal %d.", (int) received_signal); } /* diff --git a/crypto/dist/ssh/serverloop.c b/crypto/dist/ssh/serverloop.c index 9a7b8f1f7863..3e2f4f0bc5b6 100644 --- a/crypto/dist/ssh/serverloop.c +++ b/crypto/dist/ssh/serverloop.c @@ -1,4 +1,4 @@ -/* $NetBSD: serverloop.c,v 1.13 2001/11/27 04:10:24 itojun Exp $ */ +/* $NetBSD: serverloop.c,v 1.14 2001/11/30 00:48:25 thorpej Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -267,7 +267,8 @@ wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, int *maxfdp, tvp = &tv; } if (tvp!=NULL) - debug3("tvp!=NULL kid %d mili %d", child_terminated, max_time_milliseconds); + debug3("tvp!=NULL kid %d mili %d", (int) child_terminated, + max_time_milliseconds); /* Wait for something to happen, or the timeout to expire. */ ret = select((*maxfdp)+1, *readsetp, *writesetp, NULL, tvp); diff --git a/crypto/dist/ssh/sshd.c b/crypto/dist/ssh/sshd.c index b53604645d50..86494688f2eb 100644 --- a/crypto/dist/ssh/sshd.c +++ b/crypto/dist/ssh/sshd.c @@ -1,4 +1,4 @@ -/* $NetBSD: sshd.c,v 1.15 2001/11/27 04:10:26 itojun Exp $ */ +/* $NetBSD: sshd.c,v 1.16 2001/11/30 00:48:25 thorpej Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -955,7 +955,7 @@ main(int ac, char **av) error("select: %.100s", strerror(errno)); if (received_sigterm) { log("Received signal %d; terminating.", - received_sigterm); + (int) received_sigterm); close_listen_socks(); unlink(options.pid_file); exit(255);