summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2004-01-03 20:06:59 +0000
committermillert <millert@openbsd.org>2004-01-03 20:06:59 +0000
commit2eba0a6888b28f647a897c119e50a21b3ba1c8d2 (patch)
treec0db6c1c3a8436456b5646eb4fc515b852cf2248
parentmissing prototypes; ok espie (diff)
downloadwireguard-openbsd-2eba0a6888b28f647a897c119e50a21b3ba1c8d2.tar.xz
wireguard-openbsd-2eba0a6888b28f647a897c119e50a21b3ba1c8d2.zip
Fix format type mismatch (int vs. ssize_t).
-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);
}