diff --git a/bin/tests/shutdown_test.c b/bin/tests/shutdown_test.c index 11f6aacc6e..923aac0230 100644 --- a/bin/tests/shutdown_test.c +++ b/bin/tests/shutdown_test.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1998-2001, 2004, 2007, 2011, 2013, 2016, 2017 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 1998-2001, 2004, 2007, 2011, 2013, 2016-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 @@ -139,7 +139,7 @@ new_task(isc_mem_t *mctx, const char *name) { INSIST(strlen(name) < sizeof(ti->name)); strlcpy(ti->name, name, sizeof(ti->name)); } else { - snprintf(ti->name, sizeof(ti->name), "%d", task_count); + snprintf(ti->name, sizeof(ti->name), "%u", task_count); } RUNTIME_CHECK(isc_task_create(task_manager, 0, &ti->task) == ISC_R_SUCCESS); @@ -175,7 +175,7 @@ main(int argc, char *argv[]) { workers = 8192; } else workers = 2; - printf("%d workers\n", workers); + printf("%u workers\n", workers); mctx = NULL; RUNTIME_CHECK(isc_mem_create(0, 0, &mctx) == ISC_R_SUCCESS); diff --git a/util/copyrights b/util/copyrights index dd1bf2988f..b6b1f139a7 100644 --- a/util/copyrights +++ b/util/copyrights @@ -600,7 +600,7 @@ ./bin/tests/resolver/win32/t_resolver.vcxproj.user X 2013 ./bin/tests/rwlock_test.c C 1998,1999,2000,2001,2004,2005,2007,2013,2016,2017,2018 ./bin/tests/serial_test.c C 1999,2000,2001,2003,2004,2007,2015,2016 -./bin/tests/shutdown_test.c C 1998,1999,2000,2001,2004,2007,2011,2013,2016,2017 +./bin/tests/shutdown_test.c C 1998,1999,2000,2001,2004,2007,2011,2013,2016,2017,2018 ./bin/tests/sig0_test.c C 2000,2001,2004,2005,2007,2008,2009,2012,2015,2016 ./bin/tests/sock_test.c C 1998,1999,2000,2001,2004,2007,2008,2012,2013,2014,2015,2016,2017 ./bin/tests/sockaddr/Makefile.in MAKE 1999,2000,2001,2002,2004,2007,2009,2012,2014,2016,2017