From: Mark Andrews Date: Wed, 14 Feb 2018 08:28:13 +0000 (+1100) Subject: use %u instead of %d X-Git-Tag: v9.13.0~155^2~3^2~47 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=898d7e99a9e7e1596c4758b8bb56d94a2fbaeba2;p=thirdparty%2Fbind9.git use %u instead of %d --- diff --git a/lib/dns/dst_parse.c b/lib/dns/dst_parse.c index c984c4ca578..5b64142de59 100644 --- a/lib/dns/dst_parse.c +++ b/lib/dns/dst_parse.c @@ -1,5 +1,5 @@ /* - * Portions Copyright (C) 1999-2002, 2004-2017 Internet Systems Consortium, Inc. ("ISC") + * Portions Copyright (C) 1999-2002, 2004-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 @@ -738,7 +738,7 @@ dst__privstruct_writefile(const dst_key_t *key, const dst_private_t *priv, /* XXXDCL return value should be checked for full filesystem */ fprintf(fp, "%s v%d.%d\n", PRIVATE_KEY_STR, major, minor); - fprintf(fp, "%s %d ", ALGORITHM_STR, dst_key_alg(key)); + fprintf(fp, "%s %u ", ALGORITHM_STR, dst_key_alg(key)); /* XXXVIX this switch statement is too sparse to gen a jump table. */ switch (dst_key_alg(key)) { diff --git a/util/copyrights b/util/copyrights index 5bd4c0850c7..18f926c69fb 100644 --- a/util/copyrights +++ b/util/copyrights @@ -3325,7 +3325,7 @@ ./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 ./lib/dns/dst_openssl.h C 2002,2004,2005,2007,2008,2009,2011,2012,2015,2016 -./lib/dns/dst_parse.c C.NAI 1999,2000,2001,2002,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017 +./lib/dns/dst_parse.c C.NAI 1999,2000,2001,2002,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018 ./lib/dns/dst_parse.h C.NAI 2000,2001,2002,2004,2005,2006,2007,2008,2009,2010,2012,2014,2016,2017 ./lib/dns/dst_pkcs11.h C 2014,2016 ./lib/dns/dst_result.c C 1999,2000,2001,2004,2005,2007,2008,2012,2013,2014,2015,2016