]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
use %u instead of %d
authorMark Andrews <marka@isc.org>
Wed, 14 Feb 2018 07:25:57 +0000 (18:25 +1100)
committerMark Andrews <marka@isc.org>
Fri, 16 Feb 2018 04:37:32 +0000 (15:37 +1100)
bin/tests/inter_test.c
util/copyrights

index 48a56bd7dcc3ef8fc070597536278b2ee1ee478a..c4aa81777112c13003ef1284321946a25f147391 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007, 2008, 2015  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2008, 2015, 2018  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 2000, 2001, 2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -15,8 +15,6 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: inter_test.c,v 1.16 2008/03/20 23:47:00 tbox Exp $ */
-
 /*! \file */
 #include <config.h>
 
@@ -51,7 +49,7 @@ main(int argc, char **argv) {
                                isc_result_totext(result));
                        continue;
                }
-               fprintf(stdout, "%s %d %x\n", ifdata.name, ifdata.af,
+               fprintf(stdout, "%s %u %x\n", ifdata.name, ifdata.af,
                        ifdata.flags);
                INSIST(ifdata.af == AF_INET || ifdata.af == AF_INET6);
                res = inet_ntop(ifdata.af, &ifdata.address.type, buf,
@@ -98,7 +96,7 @@ main(int argc, char **argv) {
                                isc_result_totext(result));
                        continue;
                }
-               fprintf(stdout, "%s %d %x\n", ifdata.name, ifdata.af,
+               fprintf(stdout, "%s %u %x\n", ifdata.name, ifdata.af,
                        ifdata.flags);
                INSIST(ifdata.af == AF_INET || ifdata.af == AF_INET6);
                res = inet_ntop(ifdata.af, &ifdata.address.type, buf,
index dfc0a2516479179384216466ee80e02531523fb1..49fabe9175c93d6965375d236c83f80b51b49d73 100644 (file)
 ./bin/tests/hashes/win32/t_hashes.vcxproj.in   X       2013,2015,2016,2017
 ./bin/tests/hashes/win32/t_hashes.vcxproj.user X       2013
 ./bin/tests/headerdep_test.sh.in               SH      2000,2001,2004,2007,2012
-./bin/tests/inter_test.c                       C       2000,2001,2003,2004,2005,2007,2008,2015
+./bin/tests/inter_test.c                       C       2000,2001,2003,2004,2005,2007,2008,2015,2018
 ./bin/tests/keyboard_test.c                    C       2000,2001,2004,2005,2007,2015
 ./bin/tests/lex_test.c                         C       1998,1999,2000,2001,2004,2005,2007,2015
 ./bin/tests/lfsr_test.c                                C       1999,2000,2001,2004,2005,2007,2015