From 1af3e7d7d5092e7665f2a9b84c1c51bff53e7d83 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 14 Feb 2018 19:09:23 +1100 Subject: [PATCH] use %u instead of %d --- bin/tools/mdig.c | 6 +++--- util/copyrights | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/tools/mdig.c b/bin/tools/mdig.c index 5c81527771..8dbc49ab6c 100644 --- a/bin/tools/mdig.c +++ b/bin/tools/mdig.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2015-2017 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2015-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 @@ -1378,12 +1378,12 @@ plus_option(char *option, struct query *query, isc_boolean_t global) result = parse_uint(&display_splitwidth, value, 1023, "split"); - if (display_splitwidth % 4 != 0) { + if ((display_splitwidth % 4) != 0) { display_splitwidth = ((display_splitwidth + 3) / 4) * 4; fprintf(stderr, ";; Warning, split must be " "a multiple of 4; adjusting " - "to %d\n", + "to %u\n", display_splitwidth); } /* diff --git a/util/copyrights b/util/copyrights index 95a0faa6b0..12b5a64bee 100644 --- a/util/copyrights +++ b/util/copyrights @@ -2618,7 +2618,7 @@ ./bin/tools/genrandom.docbook SGML 2009,2010,2011,2014,2015,2016 ./bin/tools/genrandom.html HTML DOCBOOK ./bin/tools/mdig.1 MAN DOCBOOK -./bin/tools/mdig.c C 2015,2016,2017 +./bin/tools/mdig.c C 2015,2016,2017,2018 ./bin/tools/mdig.docbook SGML 2015,2016,2017 ./bin/tools/mdig.html HTML DOCBOOK ./bin/tools/named-journalprint.8 MAN DOCBOOK