Commit 45282974 authored by Mark Andrews's avatar Mark Andrews

use %u instead of %d

parent 8f8ce953
/*
* Copyright (C) 2009, 2012-2016 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2009, 2012-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
......@@ -85,7 +85,7 @@ make_querymessage(dns_message_t *message, const char *namestr,
qname0 = dns_fixedname_name(&fixedqname);
result = dns_name_fromtext(qname0, &b, dns_rootname, 0, NULL);
if (result != ISC_R_SUCCESS) {
fprintf(stderr, "failed to convert qname: %d\n", result);
fprintf(stderr, "failed to convert qname: %u\n", result);
return (result);
}
......@@ -175,13 +175,13 @@ main(int argc, char *argv[]) {
isc_lib_register();
result = dns_lib_init();
if (result != ISC_R_SUCCESS) {
fprintf(stderr, "dns_lib_init failed: %d\n", result);
fprintf(stderr, "dns_lib_init failed: %u\n", result);
exit(1);
}
result = dns_client_create(&client, 0);
if (result != ISC_R_SUCCESS) {
fprintf(stderr, "dns_client_create failed: %d\n", result);
fprintf(stderr, "dns_client_create failed: %u\n", result);
exit(1);
}
......
......@@ -4305,7 +4305,7 @@
./lib/samples/rootkey.sh SH 2013,2016
./lib/samples/sample-async.c C 2009,2013,2014,2015,2016,2018
./lib/samples/sample-gai.c C 2009,2012,2013,2014,2015,2016
./lib/samples/sample-request.c C 2009,2012,2013,2014,2015,2016
./lib/samples/sample-request.c C 2009,2012,2013,2014,2015,2016,2018
./lib/samples/sample-update.c C 2009,2010,2012,2013,2014,2015,2016,2017,2018
./lib/samples/win32/async.vcxproj.filters.in X 2014,2015
./lib/samples/win32/async.vcxproj.in X 2014,2015,2016,2017
......
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