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)
- 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 63550a29d..3ed646247 100644
--- a/hostfile.c
+++ b/hostfile.c
@@ -36,7 +36,7 @@
36 */ 36 */
37 37
38#include "includes.h" 38#include "includes.h"
39RCSID("$OpenBSD: hostfile.c,v 1.35 2005/07/27 10:39:03 dtucker Exp $"); 39RCSID("$OpenBSD: hostfile.c,v 1.36 2005/11/22 03:36:03 dtucker Exp $");
40 40
41#include <resolv.h> 41#include <resolv.h>
42#include <openssl/hmac.h> 42#include <openssl/hmac.h>
@@ -88,8 +88,8 @@ extract_salt(const char *s, u_int l, char *salt, size_t salt_len)
88 return (-1); 88 return (-1);
89 } 89 }
90 if (ret != SHA_DIGEST_LENGTH) { 90 if (ret != SHA_DIGEST_LENGTH) {
91 debug2("extract_salt: expected salt len %u, got %u", 91 debug2("extract_salt: expected salt len %d, got %d",
92 salt_len, ret); 92 SHA_DIGEST_LENGTH, ret);
93 return (-1); 93 return (-1);
94 } 94 }
95 95