2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 22:45:39 +00:00

The error message 'has 0 SOA records' incorrectly failed to pluralize

record.
This commit is contained in:
Brian Wellington
2000-08-18 02:34:29 +00:00
parent 3c0ca050f1
commit f7fe55549d

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: zone.c,v 1.188 2000/08/17 16:15:02 gson Exp $ */ /* $Id: zone.c,v 1.189 2000/08/18 02:34:29 bwelling Exp $ */
#include <config.h> #include <config.h>
@@ -839,8 +839,7 @@ dns_zone_load(dns_zone_t *zone) {
case dns_zone_stub: case dns_zone_stub:
if (soacount != 1) { if (soacount != 1) {
zone_log(zone, me, ISC_LOG_ERROR, zone_log(zone, me, ISC_LOG_ERROR,
"has %d SOA record%s", soacount, "has %d SOA records", soacount);
(soacount != 0) ? "s" : "");
result = DNS_R_BADZONE; result = DNS_R_BADZONE;
goto cleanup; goto cleanup;
} }