From: Mark Andrews Date: Thu, 15 Feb 2018 02:26:09 +0000 (+1100) Subject: use %u instead of %d X-Git-Tag: v9.10.8rc1~91^2~23 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=a33e639d26058e3fbd5fa02458f740d6a0c918d5;p=thirdparty%2Fbind9.git use %u instead of %d --- diff --git a/lib/isc/task.c b/lib/isc/task.c index f1c3cdb8e01..e8c1f810bf7 100644 --- a/lib/isc/task.c +++ b/lib/isc/task.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2015, 2017 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004-2015, 2017, 2018 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1998-2003 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any @@ -1439,7 +1439,7 @@ isc__taskmgr_create(isc_mem_t *mctx, unsigned int workers, &manager->threads[manager->workers]) == ISC_R_SUCCESS) { char name[16]; /* thread name limit on Linux */ - snprintf(name, sizeof(name), "isc-worker%04d", i); + snprintf(name, sizeof(name), "isc-worker%04u", i); isc_thread_setname(manager->threads[manager->workers], name); manager->workers++; diff --git a/util/copyrights b/util/copyrights index 4fd2b8a169c..bb23c754f81 100644 --- a/util/copyrights +++ b/util/copyrights @@ -3803,7 +3803,7 @@ ./lib/isc/string.c C 1999,2000,2001,2003,2004,2005,2006,2007,2011,2012,2014,2015 ./lib/isc/strtoul.c C 2003,2004,2005,2007,2014 ./lib/isc/symtab.c C 1996,1997,1998,1999,2000,2001,2004,2005,2007,2011,2012,2013 -./lib/isc/task.c C 1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2017 +./lib/isc/task.c C 1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2017,2018 ./lib/isc/task_p.h C 2000,2001,2004,2005,2007,2009,2011,2012,2013 ./lib/isc/taskpool.c C 1999,2000,2001,2004,2005,2007,2011,2012,2013 ./lib/isc/tests/Atffile X 2011,2017