diff options
author | Oleg Safiullin <form@cvs.openbsd.org> | 2009-01-30 10:03:30 +0000 |
---|---|---|
committer | Oleg Safiullin <form@cvs.openbsd.org> | 2009-01-30 10:03:30 +0000 |
commit | 6d6ca00931ea3b971d2a79034896fe389d637073 (patch) | |
tree | ebe5b21189b6e3667393349565daf27d89c02a80 /usr.sbin | |
parent | e8379d37dcbedc4eca7c7b70ac32fe61c49856f5 (diff) |
fix debug message
ok gilles@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/smtpd/smtpd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c index 96e1a9871f8..6f13c500d39 100644 --- a/usr.sbin/smtpd/smtpd.c +++ b/usr.sbin/smtpd/smtpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.c,v 1.27 2009/01/29 21:59:15 jacekm Exp $ */ +/* $OpenBSD: smtpd.c,v 1.28 2009/01/30 10:03:29 form Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -1032,9 +1032,8 @@ parent_external_mda(struct passwd *pw, struct batch *batchp, struct path *path) pid_t pid; int pipefd[2]; struct mdaproc *mdaproc; - char *pw_name; - log_debug("executing filter as user: %s", pw_name); + log_debug("executing filter as user: %s", pw->pw_name); if (socketpair(AF_UNIX, SOCK_STREAM, 0, pipefd) == -1) { batchp->message.status |= S_MESSAGE_PERMFAILURE; |