---
-* [Bug 2745] ntpd -x steps clock on leap second
- Do leap second stepping only of the step adjustment is beyond the
- proper jump distance limit and step correction is allowed at all.
* CID 1269537: Clean up a line of dead code in getShmTime().
* [Bug 2612] restrict: Warn when 'monitor' can't be disabled because
of 'limited'.
+* [Bug 2745] ntpd -x steps clock on leap second
+ Do leap second stepping only of the step adjustment is beyond the
+ proper jump distance limit and step correction is allowed at all.
* [Bug 2794] Clean up kernel clock status reports.
* [Bug 2800] refclock_true.c true_debug() can't open debug log because
of incompatible open/fdopen parameters.
# endif
# ifdef DEBUG
if (debug >= 4)
- (void)(0 != write(1, msg, strlen(msg)));
+ (void)(-1 == write(1, msg, strlen(msg)));
# endif
}
#endif /* SYS_WINNT */
time_t max_delay; /* age/stale limit */
};
+
static struct shmTime*
getShmTime(
int unit,
msyslog(LOG_ERR, "SHM shmat (unit %d): %m", unit);
return NULL;
}
- return p;
+ return p;
#else
static const char * nspref[2] = { "Local", "Global" };
/* NOTREACHED */
ENSURE(!"getShmTime(): Not reached.");
}
+
+
/*
* shm_start - attach to shared memory
*/