summaryrefslogtreecommitdiff
path: root/usr.bin/mail
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-01-03 20:07:00 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-01-03 20:07:00 +0000
commitb6338aa67f31a3cf25e732e87e7cec751a6c651c (patch)
tree95190ba1e333c44537202f566ba6ca1d1934f544 /usr.bin/mail
parent406895b3b1a2ce4dc6ff5a110017ee7456417962 (diff)
Fix format type mismatch (int vs. ssize_t).
Diffstat (limited to 'usr.bin/mail')
-rw-r--r--usr.bin/mail/collect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mail/collect.c b/usr.bin/mail/collect.c
index 66f83b486b7..d060f2ebee4 100644
--- a/usr.bin/mail/collect.c
+++ b/usr.bin/mail/collect.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: collect.c,v 1.26 2003/10/24 20:32:06 avsm Exp $ */
+/* $OpenBSD: collect.c,v 1.27 2004/01/03 20:06:59 millert Exp $ */
/* $NetBSD: collect.c,v 1.9 1997/07/09 05:25:45 mikel Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static const char sccsid[] = "@(#)collect.c 8.2 (Berkeley) 4/19/94";
#else
-static const char rcsid[] = "$OpenBSD: collect.c,v 1.26 2003/10/24 20:32:06 avsm Exp $";
+static const char rcsid[] = "$OpenBSD: collect.c,v 1.27 2004/01/03 20:06:59 millert Exp $";
#endif
#endif /* not lint */
@@ -428,7 +428,7 @@ exwrite(char *name, FILE *fp, int f)
}
}
(void)Fclose(of);
- printf("%d/%d\n", lc, cc);
+ printf("%lld/%lld\n", (long long)lc, (long long)cc);
fflush(stdout);
return(0);
}