summaryrefslogtreecommitdiff
path: root/hostfile.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-11-22 19:43:26 +1100
committerDarren Tucker <dtucker@zip.com.au>2005-11-22 19:43:26 +1100
commit593bae7e10e61c41b73c5939e2f045e93ccd605e (patch)
tree5d3239eff49ed2cdc79e2dda433de89c98ec2f43 /hostfile.c
parentf4732f647572f40d93f4fbd1e65d744ed10b2620 (diff)
downloadopenssh-git-593bae7e10e61c41b73c5939e2f045e93ccd605e.tar.gz
- 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@
Diffstat (limited to 'hostfile.c')
-rw-r--r--hostfile.c6
1 files changed, 3 insertions, 3 deletions
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 <resolv.h>
#include <openssl/hmac.h>
@@ -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);
}