summaryrefslogtreecommitdiffstats
path: root/crypto/openssh
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2013-04-02 11:42:39 +0000
committerdes <des@FreeBSD.org>2013-04-02 11:42:39 +0000
commit3325697f0c9f5298d7313d56bd4bb35e4fb47589 (patch)
tree2d83b67aabbb4c2caf3f3d70acd05510d658b178 /crypto/openssh
parent693df692467c616cfcb266379e935df20b66f4c8 (diff)
downloadFreeBSD-src-3325697f0c9f5298d7313d56bd4bb35e4fb47589.zip
FreeBSD-src-3325697f0c9f5298d7313d56bd4bb35e4fb47589.tar.gz
Silence printf format warnings.
Diffstat (limited to 'crypto/openssh')
-rw-r--r--crypto/openssh/krl.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/crypto/openssh/krl.c b/crypto/openssh/krl.c
index 5a6bd14..7cf496f 100644
--- a/crypto/openssh/krl.c
+++ b/crypto/openssh/krl.c
@@ -502,8 +502,11 @@ choose_next_state(int current_state, u_int64_t contig, int final,
}
debug3("%s: contig %llu last_gap %llu next_gap %llu final %d, costs:"
"list %llu range %llu bitmap %llu new bitmap %llu, "
- "selected 0x%02x%s", __func__, contig, last_gap, next_gap, final,
- cost_list, cost_range, cost_bitmap, cost_bitmap_restart, new_state,
+ "selected 0x%02x%s", __func__, (unsigned long long)contig,
+ (unsigned long long)last_gap, (unsigned long long)next_gap, final,
+ (unsigned long long)cost_list, (unsigned long long)cost_range,
+ (unsigned long long)cost_bitmap,
+ (unsigned long long)cost_bitmap_restart, new_state,
*force_new_section ? " restart" : "");
return new_state;
}
@@ -539,7 +542,8 @@ revoked_certs_generate(struct revoked_certs *rc, Buffer *buf)
rs != NULL;
rs = RB_NEXT(revoked_serial_tree, &rc->revoked_serials, rs)) {
debug3("%s: serial %llu:%llu state 0x%02x", __func__,
- rs->lo, rs->hi, state);
+ (unsigned long long)rs->lo, (unsigned long long)rs->hi,
+ state);
/* Check contiguous length and gap to next section (if any) */
nrs = RB_NEXT(revoked_serial_tree, &rc->revoked_serials, rs);
@@ -928,8 +932,9 @@ ssh_krl_from_blob(Buffer *buf, struct ssh_krl **krlp,
}
format_timestamp(krl->generated_date, timestamp, sizeof(timestamp));
- debug("KRL version %llu generated at %s%s%s", krl->krl_version,
- timestamp, *krl->comment ? ": " : "", krl->comment);
+ debug("KRL version %llu generated at %s%s%s",
+ (unsigned long long)krl->krl_version, timestamp,
+ *krl->comment ? ": " : "", krl->comment);
/*
* 1st pass: verify signatures, if any. This is done to avoid
OpenPOWER on IntegriCloud