diff options
author | Steven Barth <steven@midlink.org> | 2014-04-03 11:53:26 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-04-03 11:53:26 +0200 |
commit | 2441f9629ddae3656313565c4e48236661c130ff (patch) | |
tree | 9e72f1ec7184b5583f7c6af906a52a23df032d9c | |
parent | 4264248aedd515a7c7cf5bcdf29c2ef2e76f938f (diff) |
Make clang happy
-rw-r--r-- | src/dhcpv6-ia.c | 2 |
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'; |