Commit 4278230b authored by Mark Andrews's avatar Mark Andrews

use %u instead of %d

parent 4ec06278
/*
* Copyright (C) 2000, 2001, 2003-2005, 2007, 2008, 2015, 2016 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001, 2003-2005, 2007, 2008, 2015, 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
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/* $Id: inter_test.c,v 1.16 2008/03/20 23:47:00 tbox Exp $ */
/*! \file */
#include <config.h>
......@@ -42,7 +40,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,
......@@ -89,7 +87,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,
......
......@@ -456,7 +456,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,2016
./bin/tests/inter_test.c C 2000,2001,2003,2004,2005,2007,2008,2015,2016
./bin/tests/inter_test.c C 2000,2001,2003,2004,2005,2007,2008,2015,2016,2018
./bin/tests/keyboard_test.c C 2000,2001,2004,2005,2007,2015,2016
./bin/tests/lex_test.c C 1998,1999,2000,2001,2004,2005,2007,2015,2016
./bin/tests/lfsr_test.c C 1999,2000,2001,2004,2005,2007,2015,2016
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment