summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/lka.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/smtpd/lka.c')
-rw-r--r--usr.sbin/smtpd/lka.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/lka.c b/usr.sbin/smtpd/lka.c
index 0f74cfe1954..a1b746c4130 100644
--- a/usr.sbin/smtpd/lka.c
+++ b/usr.sbin/smtpd/lka.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lka.c,v 1.5 2008/12/05 02:51:32 gilles Exp $ */
+/* $OpenBSD: lka.c,v 1.6 2008/12/05 19:09:59 gilles Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -29,7 +29,6 @@
#include <ctype.h>
#include <db.h>
-#include <err.h>
#include <event.h>
#include <fcntl.h>
#include <pwd.h>
@@ -529,7 +528,7 @@ lka_dispatch_runner(int sig, short event, void *p)
batchp = imsg.data;
if (! IS_RELAY(batchp->rule.r_action))
- err(1, "lka_dispatch_queue: inconsistent internal state");
+ fatalx("lka_dispatch_queue: inconsistent internal state");
if (batchp->rule.r_action == A_RELAY) {
log_debug("attempting to resolve %s", batchp->hostname);