summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/src/savemail.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-10-17 16:04:28 +0000
committerbde <bde@FreeBSD.org>1998-10-17 16:04:28 +0000
commitb88b21c0d0929483ebdf40420df37883ca4f7a3f (patch)
treee557c47a3cdfa39c0c29724643d604ad5806da85 /contrib/sendmail/src/savemail.c
parentccbd0428fd211712e8ac0f38c178720a3ff44ab8 (diff)
downloadFreeBSD-src-b88b21c0d0929483ebdf40420df37883ca4f7a3f.zip
FreeBSD-src-b88b21c0d0929483ebdf40420df37883ca4f7a3f.tar.gz
Fixed printf format errors.
Diffstat (limited to 'contrib/sendmail/src/savemail.c')
-rw-r--r--contrib/sendmail/src/savemail.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/sendmail/src/savemail.c b/contrib/sendmail/src/savemail.c
index 4fbfd67..c7ae3d9 100644
--- a/contrib/sendmail/src/savemail.c
+++ b/contrib/sendmail/src/savemail.c
@@ -551,7 +551,7 @@ returntosender(msg, returnq, flags, e)
addheader("MIME-Version", "1.0", &ee->e_header);
(void) snprintf(buf, sizeof buf, "%s.%ld/%.100s",
- ee->e_id, curtime(), MyHostName);
+ ee->e_id, (long)curtime(), MyHostName);
ee->e_msgboundary = newstr(buf);
(void) snprintf(buf, sizeof buf,
#if DSN
@@ -588,14 +588,14 @@ returntosender(msg, returnq, flags, e)
else if (bitset(RTSF_PM_BOUNCE, flags))
{
snprintf(buf, sizeof buf, "Postmaster notify: %.*s",
- sizeof buf - 20, msg);
+ (int)sizeof buf - 20, msg);
addheader("Subject", buf, &ee->e_header);
p = "postmaster-notification";
}
else
{
snprintf(buf, sizeof buf, "Returned mail: %.*s",
- sizeof buf - 20, msg);
+ (int)sizeof buf - 20, msg);
addheader("Subject", buf, &ee->e_header);
p = "failure";
}
OpenPOWER on IntegriCloud