diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2009-04-21 14:37:33 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2009-04-21 14:37:33 +0000 |
commit | dc8d4b5dbb28ee514958d3a500d6135ee05c1e1e (patch) | |
tree | 3a16fb97c8d3686d6cb3f27a817b57979edeec6b /usr.sbin/smtpd/control.c | |
parent | 3b7a858d0ccc9af3c9993bc32a5287c937a63250 (diff) |
correct some fatal(x) calls and error strings
ok gilles@ jacekm@
Diffstat (limited to 'usr.sbin/smtpd/control.c')
-rw-r--r-- | usr.sbin/smtpd/control.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/smtpd/control.c b/usr.sbin/smtpd/control.c index 10bda60485e..803150462cc 100644 --- a/usr.sbin/smtpd/control.c +++ b/usr.sbin/smtpd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.22 2009/04/16 15:35:06 jacekm Exp $ */ +/* $OpenBSD: control.c,v 1.23 2009/04/21 14:37:32 eric Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -496,7 +496,7 @@ control_dispatch_parent(int sig, short event, void *p) for (;;) { if ((n = imsg_get(ibuf, &imsg)) == -1) - fatal("control_dispatch_parent: imsg_read error"); + fatalx("control_dispatch_parent: imsg_get error"); if (n == 0) break; @@ -557,7 +557,7 @@ control_dispatch_lka(int sig, short event, void *p) for (;;) { if ((n = imsg_get(ibuf, &imsg)) == -1) - fatal("control_dispatch_lka: imsg_read error"); + fatalx("control_dispatch_lka: imsg_get error"); if (n == 0) break; @@ -603,7 +603,7 @@ control_dispatch_mfa(int sig, short event, void *p) for (;;) { if ((n = imsg_get(ibuf, &imsg)) == -1) - fatal("control_dispatch_mfa: imsg_read error"); + fatalx("control_dispatch_mfa: imsg_get error"); if (n == 0) break; @@ -649,7 +649,7 @@ control_dispatch_queue(int sig, short event, void *p) for (;;) { if ((n = imsg_get(ibuf, &imsg)) == -1) - fatal("control_dispatch_queue: imsg_read error"); + fatalx("control_dispatch_queue: imsg_get error"); if (n == 0) break; @@ -710,7 +710,7 @@ control_dispatch_runner(int sig, short event, void *p) for (;;) { if ((n = imsg_get(ibuf, &imsg)) == -1) - fatal("control_dispatch_runner: imsg_read error"); + fatalx("control_dispatch_runner: imsg_get error"); if (n == 0) break; @@ -787,7 +787,7 @@ control_dispatch_smtp(int sig, short event, void *p) for (;;) { if ((n = imsg_get(ibuf, &imsg)) == -1) - fatal("control_dispatch_smtp: imsg_read error"); + fatalx("control_dispatch_smtp: imsg_get error"); if (n == 0) break; |