summaryrefslogtreecommitdiff
path: root/usr.bin/sendbug/sendbug.c
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2008-05-08 00:10:47 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2008-05-08 00:10:47 +0000
commitafd8b494bd4048d83f529bb4c914c346caf218d3 (patch)
tree6bca3f149e16994ffa94877c4a59890e14e0361e /usr.bin/sendbug/sendbug.c
parent645116565faebdad638af7793e58ef343fd3c537 (diff)
replace "/usr/sbin/sendmail" with _PATH_SENDMAIL
no binary change found by Daniel Dickman <didickman at gmail.com> ok ray@
Diffstat (limited to 'usr.bin/sendbug/sendbug.c')
-rw-r--r--usr.bin/sendbug/sendbug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sendbug/sendbug.c b/usr.bin/sendbug/sendbug.c
index 41deec918a1..7229c75bfb3 100644
--- a/usr.bin/sendbug/sendbug.c
+++ b/usr.bin/sendbug/sendbug.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sendbug.c,v 1.55 2008/04/19 09:22:31 ray Exp $ */
+/* $OpenBSD: sendbug.c,v 1.56 2008/05/08 00:10:46 chl Exp $ */
/*
* Written by Ray Lai <ray@cyth.net>.
@@ -321,7 +321,7 @@ sendmail(const char *pathname)
return (-1);
}
close(filedes[0]);
- execl("/usr/sbin/sendmail", "sendmail",
+ execl(_PATH_SENDMAIL, "sendmail",
"-oi", "-t", (void *)NULL);
warn("sendmail error: unsent report in %s",
pathname);