summaryrefslogtreecommitdiff
path: root/ntpd/refclock_palisade.c
diff options
context:
space:
mode:
authorOllivier Robert <roberto@FreeBSD.org>2008-08-18 14:26:05 +0000
committerOllivier Robert <roberto@FreeBSD.org>2008-08-18 14:26:05 +0000
commitff717da2cf625e3d07537a93a4c240692fa55bd6 (patch)
tree9dcf618e4446ac2b5fca7d0afe7767382664f0d6 /ntpd/refclock_palisade.c
parentcce65f439697627afbccf5a67035a957bb4d784a (diff)
Diffstat (limited to 'ntpd/refclock_palisade.c')
-rw-r--r--ntpd/refclock_palisade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ntpd/refclock_palisade.c b/ntpd/refclock_palisade.c
index 897221bf30205..217ec104dcf98 100644
--- a/ntpd/refclock_palisade.c
+++ b/ntpd/refclock_palisade.c
@@ -494,7 +494,7 @@ if (debug > 1) {
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;