diff options
Diffstat (limited to 'bin/dig/host.c')
| -rw-r--r-- | bin/dig/host.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/dig/host.c b/bin/dig/host.c index 08f89bf74c9e..cc6e54dd3440 100644 --- a/bin/dig/host.c +++ b/bin/dig/host.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2007, 2009-2014 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004-2007, 2009-2015 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2000-2003 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any @@ -165,7 +165,7 @@ show_usage(void) { " -4 use IPv4 query transport only\n" " -6 use IPv6 query transport only\n" " -m set memory debugging flag (trace|record|usage)\n" -" -v print version number and exit\n", stderr); +" -V print version number and exit\n", stderr); exit(1); } @@ -255,7 +255,7 @@ printsection(dns_message_t *msg, dns_section_t sectionid, isc_result_t result, loopresult; isc_region_t r; dns_name_t empty_name; - char t[4096]; + char tbuf[4096]; isc_boolean_t first; isc_boolean_t no_rdata; @@ -279,7 +279,7 @@ printsection(dns_message_t *msg, dns_section_t sectionid, name = NULL; dns_message_currentname(msg, sectionid, &name); - isc_buffer_init(&target, t, sizeof(t)); + isc_buffer_init(&target, tbuf, sizeof(tbuf)); first = ISC_TRUE; print_name = name; @@ -370,13 +370,13 @@ printrdata(dns_message_t *msg, dns_rdataset_t *rdataset, dns_name_t *owner, isc_buffer_t target; isc_result_t result; isc_region_t r; - char t[4096]; + char tbuf[4096]; UNUSED(msg); if (headers) printf(";; %s SECTION:\n", set_name); - isc_buffer_init(&target, t, sizeof(t)); + isc_buffer_init(&target, tbuf, sizeof(tbuf)); result = dns_rdataset_totext(rdataset, owner, ISC_FALSE, ISC_FALSE, &target); |
