Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/dist/ntp/ntpd There was a change from usecs to nsecs between...
details: https://anonhg.NetBSD.org/src/rev/78b25a2cd13e
branches: trunk
changeset: 581033:78b25a2cd13e
user: riz <riz%NetBSD.org@localhost>
date: Sat May 21 01:47:09 2005 +0000
description:
There was a change from usecs to nsecs between ntpd 4.1.1 and 4.2.0 -
take this into account correctly. From ntp-current via Brian Buhrow
in PR#29685. Approved by christos.
diffstat:
dist/ntp/ntpd/refclock_palisade.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 5851fc4e6b14 -r 78b25a2cd13e dist/ntp/ntpd/refclock_palisade.c
--- a/dist/ntp/ntpd/refclock_palisade.c Fri May 20 23:56:15 2005 +0000
+++ b/dist/ntp/ntpd/refclock_palisade.c Sat May 21 01:47:09 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: refclock_palisade.c,v 1.2 2003/12/04 16:23:37 drochner Exp $ */
+/* $NetBSD: refclock_palisade.c,v 1.3 2005/05/21 01:47:09 riz Exp $ */
/*
* This software was developed by the Software and Component Technologies
@@ -496,7 +496,7 @@
return 0;
}
- pp->nsec = (long) (getdbl((u_char *) &mb(3)) * 1000000);
+ pp->nsec = (long) (getdbl((u_char *) &mb(3)) * 1000000000);
if ((pp->day = day_of_year(&mb(14))) < 0)
break;
Home |
Main Index |
Thread Index |
Old Index