summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-02-11 02:24:41 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-02-11 02:24:41 +0000
commit08ca3972f3b765f6091d57b1ffa2a923eefa9263 (patch)
tree3414b753b9cdb262eb874f5ba7bf03cc2da37950 /bin
parent05c94159a6edc69196dda6b6971fd029396b9289 (diff)
Notes
Diffstat (limited to 'bin')
-rw-r--r--bin/dd/dd.h4
-rw-r--r--bin/dd/misc.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/dd/dd.h b/bin/dd/dd.h
index 798b340acfd8..98ecafc12479 100644
--- a/bin/dd/dd.h
+++ b/bin/dd/dd.h
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)dd.h 8.3 (Berkeley) 4/2/94
- * $Id: dd.h,v 1.2 1994/09/24 02:54:54 davidg Exp $
+ * $Id: dd.h,v 1.2.8.1 1996/11/21 16:30:33 phk Exp $
*/
/* Input/output stream state. */
@@ -69,7 +69,7 @@ typedef struct {
u_long out_part; /* # of partial output blocks */
u_long trunc; /* # of truncated records */
u_long swab; /* # of odd-length swab blocks */
- u_long bytes; /* # of bytes written */
+ u_int64_t bytes; /* # of bytes written */
double start; /* start time of dd */
} STAT;
diff --git a/bin/dd/misc.c b/bin/dd/misc.c
index 41e8ee38d8ef..20f6ea8ebf79 100644
--- a/bin/dd/misc.c
+++ b/bin/dd/misc.c
@@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: misc.c,v 1.2.8.1 1996/11/21 16:30:35 phk Exp $
+ * $Id: misc.c,v 1.2.8.2 1997/08/24 21:45:32 jkh Exp $
*/
#ifndef lint
@@ -81,7 +81,7 @@ summary()
(void)write(STDERR_FILENO, buf, strlen(buf));
}
(void)snprintf(buf, sizeof(buf),
- "%u bytes transferred in %.6f secs (%.0f bytes/sec)\n",
+ "%qu bytes transferred in %.6f secs (%.0f bytes/sec)\n",
st.bytes, secs, st.bytes / secs);
(void)write(STDERR_FILENO, buf, strlen(buf));
}