use %u instead of %d

This commit is contained in:
Mark Andrews 2018-02-14 19:33:25 +11:00
parent 7d375efaea
commit 4a3c1fb45e
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 1999-2009, 2011-2017 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2009, 2011-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
@ -1566,7 +1566,7 @@ writeheader(dns_dumpctx_t *dctx) {
*/
if (dctx->do_date) {
fprintf(dctx->f,
"; using a %d second stale ttl\n",
"; using a %u second stale ttl\n",
dctx->tctx.serve_stale_ttl);
result = dns_time32_totext(dctx->now, &buffer);
RUNTIME_CHECK(result == ISC_R_SUCCESS);

View file

@ -3454,7 +3454,7 @@
./lib/dns/lookup.c C 2000,2001,2003,2004,2005,2007,2013,2016
./lib/dns/mapapi X 2013,2017
./lib/dns/master.c C 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2011,2012,2013,2014,2015,2016,2017,2018
./lib/dns/masterdump.c C 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2011,2012,2013,2014,2015,2016,2017
./lib/dns/masterdump.c C 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2011,2012,2013,2014,2015,2016,2017,2018
./lib/dns/message.c C 1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017
./lib/dns/name.c C 1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017
./lib/dns/ncache.c C 1999,2000,2001,2002,2003,2004,2005,2007,2008,2010,2011,2012,2013,2014,2015,2016,2017