From 0539953c141a7d9d3b2766464b9a1a57b18bd494 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Tue, 8 Mar 2005 16:27:14 +0000 Subject: [PATCH] knf --- src/usr.sbin/ntpd/ntp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/usr.sbin/ntpd/ntp.c b/src/usr.sbin/ntpd/ntp.c index f9fd8a9e..5b2635b1 100644 --- a/src/usr.sbin/ntpd/ntp.c +++ b/src/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 @@ -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;