From b0ff858e782df0f6e4eccef564a183106635dacf Mon Sep 17 00:00:00 2001 From: Simon Kelley Date: Wed, 6 Feb 2013 09:57:47 +0000 Subject: [PATCH] Fix FTBFS if HAVE_BROKEN_RTC defined. --- src/dnsmasq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dnsmasq.c b/src/dnsmasq.c index 00551a1..e36835d 100644 --- a/src/dnsmasq.c +++ b/src/dnsmasq.c @@ -158,10 +158,10 @@ int main (int argc, char **argv) now = dnsmasq_time(); - /* Create a serial at startup is not configured. */ + /* Create a serial at startup if not configured. */ if (daemon->authinterface && daemon->soa_sn == 0) #ifdef HAVE_BROKEN_RTC - die(_("zone serial must be configured in --auth-soa")); + die(_("zone serial must be configured in --auth-soa"), NULL, EC_BADCONF); #else daemon->soa_sn = now; #endif