diff options
author | 2008-05-08 00:10:46 +0000 | |
---|---|---|
committer | 2008-05-08 00:10:46 +0000 | |
commit | 6530cc94c3faeb841c4d68b9ae82bf3afd75fa41 (patch) | |
tree | 6857312b581ef8bec4cbaa71f6fee21859929e44 /usr.bin/sendbug/sendbug.c | |
parent | correct duration by taking the pre-gap into account; ok by many. (diff) | |
download | wireguard-openbsd-6530cc94c3faeb841c4d68b9ae82bf3afd75fa41.tar.xz wireguard-openbsd-6530cc94c3faeb841c4d68b9ae82bf3afd75fa41.zip |
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.c | 4 |
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); |