Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73898
b: refs/heads/master
c: fa6a1a5
h: refs/heads/master
v: v3
  • Loading branch information
David P. Reed authored and Thomas Gleixner committed Nov 17, 2007
1 parent 9661d17 commit 1b7d987
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d0974b11e0741034fc5d22838b9cb85402a280d6
refs/heads/master: fa6a1a554b50cbb7763f6907e6fef927ead480d9
2 changes: 1 addition & 1 deletion trunk/kernel/time/ntp.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ static void sync_cmos_clock(unsigned long dummy)
return;

getnstimeofday(&now);
if (abs(xtime.tv_nsec - (NSEC_PER_SEC / 2)) <= tick_nsec / 2)
if (abs(now.tv_nsec - (NSEC_PER_SEC / 2)) <= tick_nsec / 2)
fail = update_persistent_clock(now);

next.tv_nsec = (NSEC_PER_SEC / 2) - now.tv_nsec;
Expand Down

0 comments on commit 1b7d987

Please sign in to comment.