Deal with an LP64 printf format issue.
This commit is contained in:
parent
eaf8d9021b
commit
cce3152281
4
crypto/dist/ssh/clientloop.c
vendored
4
crypto/dist/ssh/clientloop.c
vendored
@ -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 <ylo@cs.hut.fi>
|
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
@ -950,7 +950,7 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id)
|
|||||||
if (received_signal) {
|
if (received_signal) {
|
||||||
if (in_non_blocking_mode) /* XXX */
|
if (in_non_blocking_mode) /* XXX */
|
||||||
leave_non_blocking();
|
leave_non_blocking();
|
||||||
fatal("Killed by signal %d.", received_signal);
|
fatal("Killed by signal %d.", (int) received_signal);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
5
crypto/dist/ssh/serverloop.c
vendored
5
crypto/dist/ssh/serverloop.c
vendored
@ -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 <ylo@cs.hut.fi>
|
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
@ -267,7 +267,8 @@ wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, int *maxfdp,
|
|||||||
tvp = &tv;
|
tvp = &tv;
|
||||||
}
|
}
|
||||||
if (tvp!=NULL)
|
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. */
|
/* Wait for something to happen, or the timeout to expire. */
|
||||||
ret = select((*maxfdp)+1, *readsetp, *writesetp, NULL, tvp);
|
ret = select((*maxfdp)+1, *readsetp, *writesetp, NULL, tvp);
|
||||||
|
4
crypto/dist/ssh/sshd.c
vendored
4
crypto/dist/ssh/sshd.c
vendored
@ -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 <ylo@cs.hut.fi>
|
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
@ -955,7 +955,7 @@ main(int ac, char **av)
|
|||||||
error("select: %.100s", strerror(errno));
|
error("select: %.100s", strerror(errno));
|
||||||
if (received_sigterm) {
|
if (received_sigterm) {
|
||||||
log("Received signal %d; terminating.",
|
log("Received signal %d; terminating.",
|
||||||
received_sigterm);
|
(int) received_sigterm);
|
||||||
close_listen_socks();
|
close_listen_socks();
|
||||||
unlink(options.pid_file);
|
unlink(options.pid_file);
|
||||||
exit(255);
|
exit(255);
|
||||||
|
Loading…
Reference in New Issue
Block a user