summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.c
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-09-03 08:19:14 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-09-03 08:19:14 +0000
commitec2dc3d89b8fdb08fb78b751a22d47edb67bbc0c (patch)
treef69ba678b2755c65048dacb605c5d350f96dc5f1 /usr.sbin/smtpd/smtpd.c
parentb30150e2689beead002818b89198c1503fff165e (diff)
imsg_get sets errno so use fatal instead of fatalx.
Diffstat (limited to 'usr.sbin/smtpd/smtpd.c')
-rw-r--r--usr.sbin/smtpd/smtpd.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c
index 3a57907672d..94e31feb315 100644
--- a/usr.sbin/smtpd/smtpd.c
+++ b/usr.sbin/smtpd/smtpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.c,v 1.83 2009/08/27 09:21:28 jacekm Exp $ */
+/* $OpenBSD: smtpd.c,v 1.84 2009/09/03 08:19:13 jacekm Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -261,7 +261,7 @@ parent_dispatch_lka(int imsgfd, short event, void *p)
for (;;) {
if ((n = imsg_get(ibuf, &imsg)) == -1)
- fatalx("parent_dispatch_lka: imsg_get error");
+ fatal("parent_dispatch_lka: imsg_get error");
if (n == 0)
break;
@@ -324,7 +324,7 @@ parent_dispatch_mfa(int fd, short event, void *p)
for (;;) {
if ((n = imsg_get(ibuf, &imsg)) == -1)
- fatalx("parent_dispatch_mfa: imsg_get error");
+ fatal("parent_dispatch_mfa: imsg_get error");
if (n == 0)
break;
@@ -369,7 +369,7 @@ parent_dispatch_mta(int fd, short event, void *p)
for (;;) {
if ((n = imsg_get(ibuf, &imsg)) == -1)
- fatalx("parent_dispatch_mta: imsg_get error");
+ fatal("parent_dispatch_mta: imsg_get error");
if (n == 0)
break;
@@ -414,7 +414,7 @@ parent_dispatch_mda(int fd, short event, void *p)
for (;;) {
if ((n = imsg_get(ibuf, &imsg)) == -1)
- fatalx("parent_dispatch_mda: imsg_get error");
+ fatal("parent_dispatch_mda: imsg_get error");
if (n == 0)
break;
@@ -560,7 +560,7 @@ parent_dispatch_smtp(int fd, short event, void *p)
for (;;) {
if ((n = imsg_get(ibuf, &imsg)) == -1)
- fatalx("parent_dispatch_smtp: imsg_get error");
+ fatal("parent_dispatch_smtp: imsg_get error");
if (n == 0)
break;
@@ -620,7 +620,7 @@ parent_dispatch_runner(int sig, short event, void *p)
for (;;) {
if ((n = imsg_get(ibuf, &imsg)) == -1)
- fatalx("parent_dispatch_runner: imsg_get error");
+ fatal("parent_dispatch_runner: imsg_get error");
if (n == 0)
break;
@@ -670,7 +670,7 @@ parent_dispatch_control(int sig, short event, void *p)
for (;;) {
if ((n = imsg_get(ibuf, &imsg)) == -1)
- fatalx("parent_dispatch_control: imsg_get error");
+ fatal("parent_dispatch_control: imsg_get error");
if (n == 0)
break;