diff options
author | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-09-03 08:19:14 +0000 |
---|---|---|
committer | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-09-03 08:19:14 +0000 |
commit | ec2dc3d89b8fdb08fb78b751a22d47edb67bbc0c (patch) | |
tree | f69ba678b2755c65048dacb605c5d350f96dc5f1 /usr.sbin/smtpd/lka.c | |
parent | b30150e2689beead002818b89198c1503fff165e (diff) |
imsg_get sets errno so use fatal instead of fatalx.
Diffstat (limited to 'usr.sbin/smtpd/lka.c')
-rw-r--r-- | usr.sbin/smtpd/lka.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/smtpd/lka.c b/usr.sbin/smtpd/lka.c index 543f7fafa95..ae051bff729 100644 --- a/usr.sbin/smtpd/lka.c +++ b/usr.sbin/smtpd/lka.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lka.c,v 1.62 2009/08/08 00:02:22 gilles Exp $ */ +/* $OpenBSD: lka.c,v 1.63 2009/09/03 08:19:13 jacekm Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -123,7 +123,7 @@ lka_dispatch_parent(int sig, short event, void *p) for (;;) { if ((n = imsg_get(ibuf, &imsg)) == -1) - fatalx("lka_dispatch_parent: imsg_get error"); + fatal("lka_dispatch_parent: imsg_get error"); if (n == 0) break; @@ -322,7 +322,7 @@ lka_dispatch_mfa(int sig, short event, void *p) for (;;) { if ((n = imsg_get(ibuf, &imsg)) == -1) - fatalx("lka_dispatch_mfa: imsg_get error"); + fatal("lka_dispatch_mfa: imsg_get error"); if (n == 0) break; @@ -459,7 +459,7 @@ lka_dispatch_mta(int sig, short event, void *p) for (;;) { if ((n = imsg_get(ibuf, &imsg)) == -1) - fatalx("lka_dispatch_mta: imsg_get error"); + fatal("lka_dispatch_mta: imsg_get error"); if (n == 0) break; @@ -542,7 +542,7 @@ lka_dispatch_smtp(int sig, short event, void *p) for (;;) { if ((n = imsg_get(ibuf, &imsg)) == -1) - fatalx("lka_dispatch_smtp: imsg_get error"); + fatal("lka_dispatch_smtp: imsg_get error"); if (n == 0) break; @@ -594,7 +594,7 @@ lka_dispatch_queue(int sig, short event, void *p) for (;;) { if ((n = imsg_get(ibuf, &imsg)) == -1) - fatalx("lka_dispatch_queue: imsg_get error"); + fatal("lka_dispatch_queue: imsg_get error"); if (n == 0) break; @@ -639,7 +639,7 @@ lka_dispatch_runner(int sig, short event, void *p) for (;;) { if ((n = imsg_get(ibuf, &imsg)) == -1) - fatalx("lka_dispatch_runner: imsg_get error"); + fatal("lka_dispatch_runner: imsg_get error"); if (n == 0) break; |