From: Mark Andrews Date: Wed, 14 Feb 2018 08:26:37 +0000 (+1100) Subject: use %u instead of %d X-Git-Tag: v9.13.0~155^2~3^2~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a8fa4a9e4252ccf82310b0e207136cca4cde5870;p=thirdparty%2Fbind9.git use %u instead of %d --- diff --git a/lib/dns/dst_api.c b/lib/dns/dst_api.c index 9e7aef685dc..2e1d695382c 100644 --- a/lib/dns/dst_api.c +++ b/lib/dns/dst_api.c @@ -1,5 +1,5 @@ /* - * Portions Copyright (C) 1999-2017 Internet Systems Consortium, Inc. ("ISC") + * Portions Copyright (C) 1999-2018 Internet Systems Consortium, Inc. ("ISC") * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this @@ -1823,7 +1823,7 @@ write_public_key(const dst_key_t *key, int type, const char *directory) { fprintf(fp, " "); if (key->key_ttl != 0) - fprintf(fp, "%d ", key->key_ttl); + fprintf(fp, "%u ", key->key_ttl); isc_buffer_usedregion(&classb, &r); if ((unsigned) fwrite(r.base, 1, r.length, fp) != r.length) diff --git a/util/copyrights b/util/copyrights index aaa989b8285..5bd4c0850c7 100644 --- a/util/copyrights +++ b/util/copyrights @@ -3320,7 +3320,7 @@ ./lib/dns/dnstap.c C 2015,2016,2017,2018 ./lib/dns/dnstap.proto X 2015 ./lib/dns/ds.c C 2002,2003,2004,2005,2006,2007,2010,2012,2014,2016 -./lib/dns/dst_api.c C.NAI 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017 +./lib/dns/dst_api.c C.NAI 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018 ./lib/dns/dst_gost.h C 2014,2016 ./lib/dns/dst_internal.h C.NAI 2000,2001,2002,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2016,2017 ./lib/dns/dst_lib.c C 1999,2000,2001,2004,2005,2007,2016