diff --git a/ChangeLog b/ChangeLog index 17750e92c..8361e329e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -32,6 +32,9 @@ - djm@cvs.openbsd.org 2004/09/23 13:00:04 [ssh.c] correctly honour -n in multiplex client mode; spotted by sturm@ ok markus@ + - djm@cvs.openbsd.org 2004/09/25 03:45:14 + [sshd.c] + these printf args are no longer double; ok deraadt@ markus@ 20041102 - (dtucker) [configure.ac includes.h] Bug #947: Fix compile error on HP-UX @@ -1811,4 +1814,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.3570 2004/11/05 09:19:51 dtucker Exp $ +$Id: ChangeLog,v 1.3571 2004/11/05 09:20:59 dtucker Exp $ diff --git a/sshd.c b/sshd.c index 2afe316cf..92b1df10c 100644 --- a/sshd.c +++ b/sshd.c @@ -42,7 +42,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshd.c,v 1.303 2004/09/15 18:42:27 mickey Exp $"); +RCSID("$OpenBSD: sshd.c,v 1.304 2004/09/25 03:45:14 djm Exp $"); #include #include @@ -765,7 +765,7 @@ drop_connection(int startups) p += options.max_startups_rate; r = arc4random() % 100; - debug("drop_connection: p %g, r %g", p, r); + debug("drop_connection: p %d, r %d", p, r); return (r < p) ? 1 : 0; }