summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/smtpd/smtpd.c')
-rw-r--r--usr.sbin/smtpd/smtpd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c
index 9e9756f05fd..e3cb5a7f23a 100644
--- a/usr.sbin/smtpd/smtpd.c
+++ b/usr.sbin/smtpd/smtpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.c,v 1.8 2008/11/11 21:02:20 gilles Exp $ */
+/* $OpenBSD: smtpd.c,v 1.9 2008/11/17 20:14:23 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -974,12 +974,12 @@ parent_external_mda(struct batch *batchp, struct path *path)
dup2(pipefd[1], 0);
execlp(_PATH_BSHELL, "sh", "-c", path->rule.r_value.path, (void *)NULL);
- exit(1);
+ _exit(1);
}
mdaproc = calloc(1, sizeof (struct mdaproc));
if (mdaproc == NULL)
- err(1, "calloc");
+ fatal("calloc");
mdaproc->pid = pid;
SPLAY_INSERT(mdaproctree, &batchp->env->mdaproc_queue, mdaproc);