mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-13 06:02:37 -04:00
use %u instead of %d
This commit is contained in:
parent
61bccbcee7
commit
5a71ca83a2
2 changed files with 4 additions and 6 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -561,7 +561,7 @@
|
|||
./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
|
||||
|
|
|
|||
Loading…
Reference in a new issue