summaryrefslogtreecommitdiff
path: root/src/common/address.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-04-19 12:40:26 -0400
committerNick Mathewson <nickm@torproject.org>2011-04-19 12:40:29 -0400
commit5cc322e5472996fda6095e54de302c0f5c68ea92 (patch)
treef3e4dac166febcfde7c80bbb34e5914da9171170 /src/common/address.c
parent177cadff8d4ca01aad21abea44c7ecc0731525d6 (diff)
downloadtor-5cc322e5472996fda6095e54de302c0f5c68ea92.tar.gz
tor-5cc322e5472996fda6095e54de302c0f5c68ea92.zip
Standardize our printf code on %d, not %i.
Diffstat (limited to 'src/common/address.c')
-rw-r--r--src/common/address.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/address.c b/src/common/address.c
index adc0ef0f7c..aff517ca51 100644
--- a/src/common/address.c
+++ b/src/common/address.c
@@ -604,7 +604,7 @@ tor_addr_parse_mask_ports(const char *s, tor_addr_t *addr_out,
if (family == AF_INET6 && v4map) {
if (bits > 32 && bits < 96) { /* Crazy */
log_warn(LD_GENERAL,
- "Bad mask bits %i for V4-mapped V6 address; rejecting.",
+ "Bad mask bits %d for V4-mapped V6 address; rejecting.",
bits);
goto err;
}