summaryrefslogtreecommitdiffstats
path: root/bin/dd/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dd/misc.c')
-rw-r--r--bin/dd/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dd/misc.c b/bin/dd/misc.c
index 4f538bc..8edc5a5 100644
--- a/bin/dd/misc.c
+++ b/bin/dd/misc.c
@@ -59,7 +59,7 @@ summary(void)
double secs;
char buf[100];
- (void)gettimeofday(&tv, (struct timezone *)NULL);
+ (void)gettimeofday(&tv, NULL);
secs = tv.tv_sec + tv.tv_usec * 1e-6 - st.start;
if (secs < 1e-6)
secs = 1e-6;
OpenPOWER on IntegriCloud