From ec2dc3d89b8fdb08fb78b751a22d47edb67bbc0c Mon Sep 17 00:00:00 2001 From: Jacek Masiulaniec Date: Thu, 3 Sep 2009 08:19:14 +0000 Subject: imsg_get sets errno so use fatal instead of fatalx. --- usr.sbin/smtpd/lka.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'usr.sbin/smtpd/lka.c') 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 @@ -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; -- cgit v1.2.3