From 6fb633bc3fddba07fc9460ffd245b7ee2d459285 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 1 Nov 2001 06:24:39 +0000 Subject: [PATCH] 1099. [cleanup] libbind: defining REPORT_ERRORS in lib/bind/dst caused compile time errors. --- CHANGES | 3 +++ lib/bind/dst/dst_api.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 0683dbc89c..4d8cfec8de 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +1099. [cleanup] libbind: defining REPORT_ERRORS in lib/bind/dst caused + compile time errors. + 1098. [bug] libbind: HMAC-MD5 key files are now mode 0600. 1097. [func] libbind: RES_PRF_TRUNC for dig. diff --git a/lib/bind/dst/dst_api.c b/lib/bind/dst/dst_api.c index 808051a730..2efa5d9a6d 100644 --- a/lib/bind/dst/dst_api.c +++ b/lib/bind/dst/dst_api.c @@ -1,5 +1,5 @@ #ifndef LINT -static const char rcsid[] = "$Header: /u0/home/explorer/proj/ISC/git-conversion/cvsroot/bind9/lib/bind/dst/Attic/dst_api.c,v 1.5 2001/11/01 06:11:43 marka Exp $"; +static const char rcsid[] = "$Header: /u0/home/explorer/proj/ISC/git-conversion/cvsroot/bind9/lib/bind/dst/Attic/dst_api.c,v 1.6 2001/11/01 06:24:39 marka Exp $"; #endif /* @@ -431,7 +431,7 @@ dst_s_write_private_key(const DST_KEY *key) int nn; if ((nn = fwrite(encoded_block, 1, len, fp)) != len) { EREPORT(("dst_write_private_key(): Write failure on %s %d != %d errno=%d\n", - file, out_len, nn, errno)); + file, len, nn, errno)); return (-5); } fclose(fp);