summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-04-03 11:53:26 +0200
committerSteven Barth <steven@midlink.org>2014-04-03 11:53:26 +0200
commit2441f9629ddae3656313565c4e48236661c130ff (patch)
tree9e72f1ec7184b5583f7c6af906a52a23df032d9c
parent4264248aedd515a7c7cf5bcdf29c2ef2e76f938f (diff)
Make clang happy
-rw-r--r--src/dhcpv6-ia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c
index 4bfea18..767a546 100644
--- a/src/dhcpv6-ia.c
+++ b/src/dhcpv6-ia.c
@@ -279,7 +279,7 @@ void dhcpv6_write_statefile(void)
md5_hash(c->hostname, strlen(c->hostname), &md5);
}
- l += snprintf(leasebuf + l, sizeof(leasebuf) - l, "%s/%hhu ", ipbuf,
+ l += snprintf(leasebuf + l, sizeof(leasebuf) - l, "%s/%d ", ipbuf,
(c->managed_size) ? addrs[i].prefix : c->length);
}
leasebuf[l - 1] = '\n';