]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
use %u instead of %d
authorMark Andrews <marka@isc.org>
Thu, 15 Feb 2018 03:23:54 +0000 (14:23 +1100)
committerMark Andrews <marka@isc.org>
Fri, 16 Feb 2018 03:08:26 +0000 (14:08 +1100)
lib/samples/sample-request.c
util/copyrights

index 11cfd0ec9b9f53ed7f6d91939d56fee3ab73d622..b46616c08c516d6bbf304dc19c6b145a60ce603e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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);
        }
 
index 6d597aa6a6f34dd20da2441e4e1a7f42698d3511..5c453ff3ab8b338bb9df56982524693474d2c77e 100644 (file)
 ./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