summaryrefslogtreecommitdiffstats
path: root/bin/dd/dd.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-11-12 23:09:15 +0000
committerphk <phk@FreeBSD.org>1996-11-12 23:09:15 +0000
commit74bda8433b8407a6199e7840fb48fde136cd1c8f (patch)
treecf9743a63f5092eca553c4787aa943a896b48572 /bin/dd/dd.h
parenta81549782df942af453c4fc58169a57de424af37 (diff)
downloadFreeBSD-src-74bda8433b8407a6199e7840fb48fde136cd1c8f.zip
FreeBSD-src-74bda8433b8407a6199e7840fb48fde136cd1c8f.tar.gz
Increase precision of duration to milliseconds.
Some heuristics to avoid overflow in calculation attempted.
Diffstat (limited to 'bin/dd/dd.h')
-rw-r--r--bin/dd/dd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/dd/dd.h b/bin/dd/dd.h
index 4ad9747..6ebc3a7 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$
+ * $Id: dd.h,v 1.2 1994/09/24 02:54:54 davidg Exp $
*/
/* Input/output stream state. */
@@ -70,7 +70,7 @@ typedef struct {
u_long trunc; /* # of truncated records */
u_long swab; /* # of odd-length swab blocks */
u_long bytes; /* # of bytes written */
- time_t start; /* start time of dd */
+ struct timeval start; /* start time of dd */
} STAT;
/* Flags (in ddflags). */
OpenPOWER on IntegriCloud