summaryrefslogtreecommitdiff
path: root/bin/dd/misc.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-09-12 04:33:25 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-09-12 04:33:25 +0000
commitadbb428458ebac0b39bb28834f9679289ed38cf1 (patch)
tree52b17815c511f58df1432981696fb69b4166e2c5 /bin/dd/misc.c
parent0cf780020b3f57b09a698b9765e28545e33ec069 (diff)
-Wall
Diffstat (limited to 'bin/dd/misc.c')
-rw-r--r--bin/dd/misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/dd/misc.c b/bin/dd/misc.c
index 9b1eac79c5e..40bc4808377 100644
--- a/bin/dd/misc.c
+++ b/bin/dd/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.6 1997/08/05 22:50:51 deraadt Exp $ */
+/* $OpenBSD: misc.c,v 1.7 1997/09/12 04:33:24 millert Exp $ */
/* $NetBSD: misc.c,v 1.4 1995/03/21 09:04:10 cgd Exp $ */
/*-
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)misc.c 8.3 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: misc.c,v 1.6 1997/08/05 22:50:51 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: misc.c,v 1.7 1997/09/12 04:33:24 millert Exp $";
#endif
#endif /* not lint */
@@ -85,7 +85,7 @@ summary()
}
(void)snprintf(buf, sizeof(buf),
"%qd bytes transferred in %ld secs (%qd bytes/sec)\n",
- st.bytes, secs, st.bytes / secs);
+ st.bytes, (long)secs, st.bytes / secs);
(void)write(STDERR_FILENO, buf, strlen(buf));
}