summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjacekm <jacekm@openbsd.org>2010-05-21 08:45:02 +0000
committerjacekm <jacekm@openbsd.org>2010-05-21 08:45:02 +0000
commit5b9eb841130422de903982271331bfcae357aa02 (patch)
tree00772e0de0958a5d361339af76d05a0b11d8fd69
parentremove unused variable. (diff)
downloadwireguard-openbsd-5b9eb841130422de903982271331bfcae357aa02.tar.xz
wireguard-openbsd-5b9eb841130422de903982271331bfcae357aa02.zip
Use _exit(2) in mda helper child process.
-rw-r--r--usr.sbin/smtpd/smtpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c
index ca9adb45356..39c0caf55e6 100644
--- a/usr.sbin/smtpd/smtpd.c
+++ b/usr.sbin/smtpd/smtpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.c,v 1.104 2010/05/20 18:35:33 gilles Exp $ */
+/* $OpenBSD: smtpd.c,v 1.105 2010/05/21 08:45:02 jacekm Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -991,7 +991,7 @@ forkmda(struct smtpd *env, struct imsgev *iev, u_int32_t id,
_exit(0);
}
- fatalx("forkmda: unknown mode");
+ error("forkmda: unknown mode");
}
#undef error
#undef error2