From 18f8ef7af1666ffce0b901b9c79f4d3b070b810f Mon Sep 17 00:00:00 2001 From: dtucker Date: Tue, 22 Nov 2005 08:43:26 +0000 Subject: [PATCH] - dtucker@cvs.openbsd.org 2005/11/22 03:36:03 [hostfile.c] Correct format/arguments to debug call; spotted by shaw at vranix.com ok djm@ --- ChangeLog | 4 ++++ hostfile.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7bd02f5a..ef05571c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,10 @@ information about account validity. bz #975, patch originally from Senthil Kumar, sanity checked by Simon Wilkinson, tested by djm@, biorn@, ok markus@ + - dtucker@cvs.openbsd.org 2005/11/22 03:36:03 + [hostfile.c] + Correct format/arguments to debug call; spotted by shaw at vranix.com + ok djm@ 20051120 - (dtucker) [openbsd-compat/openssl-compat.h] Add comment explaining what diff --git a/hostfile.c b/hostfile.c index 63550a29..3ed64624 100644 --- a/hostfile.c +++ b/hostfile.c @@ -36,7 +36,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: hostfile.c,v 1.35 2005/07/27 10:39:03 dtucker Exp $"); +RCSID("$OpenBSD: hostfile.c,v 1.36 2005/11/22 03:36:03 dtucker Exp $"); #include #include @@ -88,8 +88,8 @@ extract_salt(const char *s, u_int l, char *salt, size_t salt_len) return (-1); } if (ret != SHA_DIGEST_LENGTH) { - debug2("extract_salt: expected salt len %u, got %u", - salt_len, ret); + debug2("extract_salt: expected salt len %d, got %d", + SHA_DIGEST_LENGTH, ret); return (-1); } -- 2.45.2