summaryrefslogtreecommitdiffstats
path: root/contrib/bind9/lib/bind/resolv/res_findzonecut.c
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2005-03-17 08:04:02 +0000
committerdougb <dougb@FreeBSD.org>2005-03-17 08:04:02 +0000
commit6c00746d362144ea66eb0e93ad2dca75df176135 (patch)
tree56538def4af42f6875185c84274a942bf33b5d24 /contrib/bind9/lib/bind/resolv/res_findzonecut.c
parent46172d5768cf5570203b7b39866b786fec8be024 (diff)
downloadFreeBSD-src-6c00746d362144ea66eb0e93ad2dca75df176135.zip
FreeBSD-src-6c00746d362144ea66eb0e93ad2dca75df176135.tar.gz
Vendor import of BIND 9.3.1
Diffstat (limited to 'contrib/bind9/lib/bind/resolv/res_findzonecut.c')
-rw-r--r--contrib/bind9/lib/bind/resolv/res_findzonecut.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/bind9/lib/bind/resolv/res_findzonecut.c b/contrib/bind9/lib/bind/resolv/res_findzonecut.c
index d462228..154babd 100644
--- a/contrib/bind9/lib/bind/resolv/res_findzonecut.c
+++ b/contrib/bind9/lib/bind/resolv/res_findzonecut.c
@@ -1,5 +1,5 @@
#if !defined(lint) && !defined(SABER)
-static const char rcsid[] = "$Id: res_findzonecut.c,v 1.2.2.3.4.2 2004/03/16 12:34:18 marka Exp $";
+static const char rcsid[] = "$Id: res_findzonecut.c,v 1.2.2.3.4.3 2004/09/16 07:06:11 marka Exp $";
#endif /* not lint */
/*
@@ -360,8 +360,9 @@ get_soa(res_state statp, const char *dname, ns_class class, int opts,
abort();
}
if (strlen(t) + 1 > zsize) {
- DPRINTF(("get_soa: zname(%d) too small (%d)",
- zsize, strlen(t) + 1));
+ DPRINTF(("get_soa: zname(%lu) too small (%lu)",
+ (unsigned long)zsize,
+ (unsigned long)strlen(t) + 1));
errno = EMSGSIZE;
goto cleanup;
}
OpenPOWER on IntegriCloud