summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-03-08 16:27:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-03-08 16:27:15 +0000
commit828a47cfaec7f25df96486472340b741a1b97fbd (patch)
tree6f3713c648363d4621cefd9449231abbe705ce89
parent6171c432857ae55167e1ee12f2c2a9ee42315e8d (diff)
knf
-rw-r--r--usr.sbin/ntpd/ntp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/ntp.c b/usr.sbin/ntpd/ntp.c
index f9fd8a9e0f8..5b2635b1687 100644
--- a/usr.sbin/ntpd/ntp.c
+++ b/usr.sbin/ntpd/ntp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntp.c,v 1.52 2005/03/08 14:37:16 deraadt Exp $ */
+/* $OpenBSD: ntp.c,v 1.53 2005/03/08 16:27:14 deraadt Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -142,7 +142,8 @@ ntp_main(int pipe_prnt[2], struct ntpd_conf *nconf)
conf->status.leap = LI_ALARM;
clock_getres(CLOCK_REALTIME, &tp);
b = 1000000000 / tp.tv_nsec; /* convert to Hz */
- for (a = 0; b > 1; a--, b >>= 1);
+ for (a = 0; b > 1; a--, b >>= 1)
+ ;
conf->status.precision = a;
conf->scale = 1;