From 2441f9629ddae3656313565c4e48236661c130ff Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 3 Apr 2014 11:53:26 +0200 Subject: [PATCH] Make clang happy --- src/dhcpv6-ia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- 2.30.2