summaryrefslogtreecommitdiffstats
path: root/bin/dd/args.c
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/args.c
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/args.c')
-rw-r--r--bin/dd/args.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/dd/args.c b/bin/dd/args.c
index 61b4794..59ccefe 100644
--- a/bin/dd/args.c
+++ b/bin/dd/args.c
@@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: args.c,v 1.3 1994/09/24 02:54:42 davidg Exp $
*/
#ifndef lint
@@ -49,6 +49,7 @@ static char sccsid[] = "@(#)args.c 8.3 (Berkeley) 4/2/94";
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/time.h>
#include "dd.h"
#include "extern.h"
OpenPOWER on IntegriCloud