]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
use %u instead of %d
authorMark Andrews <marka@isc.org>
Wed, 14 Feb 2018 08:09:23 +0000 (19:09 +1100)
committerMark Andrews <marka@isc.org>
Fri, 16 Feb 2018 05:18:00 +0000 (16:18 +1100)
bin/tests/mdig.c
util/copyrights

index 1fce90bd33112d2afaaefc20d2baed079bfa156d..9e023e811a7e0dde79d72c6ced2abd40b6935c61 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016, 2017  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2016-2018  Internet Systems Consortium, Inc. ("ISC")
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -1350,12 +1350,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);
                        }
                        /*
index 7955be77b1c584e1aaf42d4d8ed63fa96f6f28c4..2e400c150cd948cb9f21d86b4ae94bd8e3849ef6 100644 (file)
 ./bin/tests/master/win32/t_master.vcxproj.in   X       2013,2015,2016,2017
 ./bin/tests/master/win32/t_master.vcxproj.user X       2013
 ./bin/tests/master_test.c                      C       1999,2000,2001,2004,2007,2009,2015
-./bin/tests/mdig.c                             C       2016,2017
+./bin/tests/mdig.c                             C       2016,2017,2018
 ./bin/tests/mem/Makefile.in                    MAKE    1998,1999,2000,2001,2002,2004,2005,2007,2009,2012,2014
 ./bin/tests/mem/t_mem.c                                C       1999,2000,2001,2004,2007,2009,2013
 ./bin/tests/mem/win32/t_mem.dsp.in             X       2013