artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fd1408
)
Improve adjtime() for odd hz values; from Dennis Ferguson (NetBSD PR# 2787)
author
tholo
<tholo@openbsd.org>
Sat, 25 Jan 1997 23:31:47 +0000
(23:31 +0000)
committer
tholo
<tholo@openbsd.org>
Sat, 25 Jan 1997 23:31:47 +0000
(23:31 +0000)
sys/kern/kern_clock.c
patch
|
blob
|
history
diff --git
a/sys/kern/kern_clock.c
b/sys/kern/kern_clock.c
index
0ec0ed7
..
d2a8ae4
100644
(file)
--- a/
sys/kern/kern_clock.c
+++ b/
sys/kern/kern_clock.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kern_clock.c,v 1.1
3 1996/09/09 04:50:33
tholo Exp $ */
+/* $OpenBSD: kern_clock.c,v 1.1
4 1997/01/25 23:31:47
tholo Exp $ */
/* $NetBSD: kern_clock.c,v 1.34 1996/06/09 04:51:03 briggs Exp $ */
/*-
@@
-426,7
+426,7
@@
hardclock(frame)
#endif /* !NTP */
/* Imprecise 4bsd adjtime() handling */
if (timedelta != 0) {
- delta
= tick +
tickdelta;
+ delta
+=
tickdelta;
timedelta -= tickdelta;
}