summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-01-09 07:41:52 +0000
committerjkh <jkh@FreeBSD.org>1996-01-09 07:41:52 +0000
commitf2b0a5b11b52ba6d5abb15d7646323d296a36e27 (patch)
tree02f3af44666557d297104148ca79fc8fb1c6b3f6 /usr.sbin/xntpd
parent3b2918e2d04c4b938dd23a563387d8912100d77e (diff)
downloadFreeBSD-src-f2b0a5b11b52ba6d5abb15d7646323d296a36e27.zip
FreeBSD-src-f2b0a5b11b52ba6d5abb15d7646323d296a36e27.tar.gz
Somebody stumbled over the :? here.. :-)
Diffstat (limited to 'usr.sbin/xntpd')
-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