diff options
author | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-04-21 18:39:01 +0000 |
---|---|---|
committer | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-04-21 18:39:01 +0000 |
commit | a0bda9e19d918b731594a2be6f44091a47974f4d (patch) | |
tree | 907e8e42bdf2e2d69a5ee518a00c49be85664c15 /usr.sbin | |
parent | 604abccd0e6aa1fe8eae11effee1b454e839bd87 (diff) |
small corrections to log_warns and fatals
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/smtpd/runner.c | 4 | ||||
-rw-r--r-- | usr.sbin/smtpd/smtpd.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/smtpd/runner.c b/usr.sbin/smtpd/runner.c index 986c90c8882..c20900b8008 100644 --- a/usr.sbin/smtpd/runner.c +++ b/usr.sbin/smtpd/runner.c @@ -1,4 +1,4 @@ -/* $OpenBSD: runner.c,v 1.42 2009/04/21 18:12:05 jacekm Exp $ */ +/* $OpenBSD: runner.c,v 1.43 2009/04/21 18:39:00 jacekm Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -127,7 +127,7 @@ runner_dispatch_parent(int sig, short event, void *p) for (;;) { if ((n = imsg_get(ibuf, &imsg)) == -1) - fatal("runner_dispatch_parent: imsg_read error"); + fatalx("runner_dispatch_parent: imsg_get error"); if (n == 0) break; diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c index e50e7311d35..f5097e4fa28 100644 --- a/usr.sbin/smtpd/smtpd.c +++ b/usr.sbin/smtpd/smtpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.c,v 1.55 2009/04/21 18:12:05 jacekm Exp $ */ +/* $OpenBSD: smtpd.c,v 1.56 2009/04/21 18:39:00 jacekm Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -534,7 +534,7 @@ parent_dispatch_runner(int sig, short event, void *p) for (;;) { if ((n = imsg_get(ibuf, &imsg)) == -1) - fatal("parent_dispatch_runner: imsg_read error"); + fatalx("parent_dispatch_runner: imsg_get error"); if (n == 0) break; @@ -1324,7 +1324,7 @@ parent_enqueue_offline(struct smtpd *env, char *runner_path) errno = 0; if ((pw = safe_getpwuid(sb.st_uid)) == NULL) { - log_warn("parent_enqueue_offline: getpwuid for %d failed", + log_warn("parent_enqueue_offline: getpwuid for uid %d failed", sb.st_uid); unlink(path); return (0); |