summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/xntpd/parse/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/xntpd/parse/parse.c b/usr.sbin/xntpd/parse/parse.c
index d283b66..a5fd9f1 100644
--- a/usr.sbin/xntpd/parse/parse.c
+++ b/usr.sbin/xntpd/parse/parse.c
@@ -606,7 +606,7 @@ parse_iodone(parseio)
* convert a struct clock to UTC since Jan, 1st 1970 0:00 (the UNIX EPOCH)
*/
#define dysize(x) (((x) % 4) ? 365 : \
- (((x) % 100) ? : 366 \
+ (((x) % 100) ? 366 : \
(((x) % 400) ? 365 : 366)))
time_t
OpenPOWER on IntegriCloud