artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95b97e7
)
Fix typo that caused us to misassign parents.
author
kettenis
<kettenis@openbsd.org>
Sun, 5 Aug 2018 21:05:17 +0000
(21:05 +0000)
committer
kettenis
<kettenis@openbsd.org>
Sun, 5 Aug 2018 21:05:17 +0000
(21:05 +0000)
ok patrick@
sys/dev/ofw/ofw_clock.c
patch
|
blob
|
history
diff --git
a/sys/dev/ofw/ofw_clock.c
b/sys/dev/ofw/ofw_clock.c
index
4242641
..
077c515
100644
(file)
--- a/
sys/dev/ofw/ofw_clock.c
+++ b/
sys/dev/ofw/ofw_clock.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ofw_clock.c,v 1.1
0 2018/06/03 18:17:2
7 kettenis Exp $ */
+/* $OpenBSD: ofw_clock.c,v 1.1
1 2018/08/05 21:05:1
7 kettenis Exp $ */
/*
* Copyright (c) 2016 Mark Kettenis
*
@@
-311,7
+311,7
@@
clock_set_assigned(int node)
}
while (clock && clock < clocks + (clen / sizeof(uint32_t))) {
- if (parent && parent < parent + (plen / sizeof(uint32_t)))
+ if (parent && parent < parent
s
+ (plen / sizeof(uint32_t)))
if (*parent != 0)
clock_set_parent_cells(clock, parent);