diff options
| author | Satoshi Asami <asami@FreeBSD.org> | 1998-02-11 02:24:41 +0000 |
|---|---|---|
| committer | Satoshi Asami <asami@FreeBSD.org> | 1998-02-11 02:24:41 +0000 |
| commit | 08ca3972f3b765f6091d57b1ffa2a923eefa9263 (patch) | |
| tree | 3414b753b9cdb262eb874f5ba7bf03cc2da37950 /bin | |
| parent | 05c94159a6edc69196dda6b6971fd029396b9289 (diff) | |
Notes
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/dd/dd.h | 4 | ||||
| -rw-r--r-- | bin/dd/misc.c | 4 |
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)); } |
