]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
use %u instead of %d
authorMark Andrews <marka@isc.org>
Wed, 14 Feb 2018 08:26:37 +0000 (19:26 +1100)
committerMark Andrews <marka@isc.org>
Thu, 15 Feb 2018 23:20:38 +0000 (10:20 +1100)
lib/dns/dst_api.c
util/copyrights

index 9e7aef685dc171cd8c7f7cf9f522377b8efc99b6..2e1d695382c889cb9aa492603abce724ca280dbe 100644 (file)
@@ -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)
index aaa989b8285a4c14e44134a43fb3bcc2190182f9..5bd4c0850c7f2ff9ad02e565b529fca94bfdc1eb 100644 (file)
 ./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