summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/timed/timed/measure.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/timed/timed/measure.c b/usr.sbin/timed/timed/measure.c
index 3856a34..05fb119 100644
--- a/usr.sbin/timed/timed/measure.c
+++ b/usr.sbin/timed/timed/measure.c
@@ -86,6 +86,7 @@ measure(maxmsec, wmsec, hname, addr, print)
min_idelta = min_odelta = 0x7fffffff;
measure_status = HOSTDOWN;
measure_delta = HOSTDOWN;
+ trials = 0;
errno = 0;
/* open raw socket used to measure time differences */
@@ -138,7 +139,6 @@ measure(maxmsec, wmsec, hname, addr, print)
mstotvround(&twait, wmsec);
rcvcount = 0;
- trials = 0;
while (rcvcount < MSGS) {
(void)gettimeofday(&tcur, 0);
OpenPOWER on IntegriCloud