summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2013-02-06 09:57:47 +0000
committerSimon Kelley <simon@thekelleys.org.uk>2013-02-06 09:57:47 +0000
commitb0ff858e782df0f6e4eccef564a183106635dacf (patch)
treec49df903a0c98e247d22b034e56a207b6b0f5878
parent54dae552b1e3029f6268494219305b5fcbbdd0ed (diff)
downloaddnsmasq-ipv6-mac.tar.gz
Fix FTBFS if HAVE_BROKEN_RTC defined.ipv6-mac
-rw-r--r--src/dnsmasq.c4
1 files 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