summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2008-11-17 20:14:24 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2008-11-17 20:14:24 +0000
commitc5b45f5dc0ee89f71107f9a7caa954aa20785b20 (patch)
tree5eacaf6a1a5c771095de8d3c3f7666964ed60711
parent321754a01ff9acd980c71846305edad67b6e4b95 (diff)
- exit() -> _exit()
- err() -> fatal() Both by Jacek Masiulaniec <jacekm@dobremiasto.net>
-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);