git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix showmacs target
[sliver-openvswitch.git]
/
lib
/
util.c
diff --git
a/lib/util.c
b/lib/util.c
index
83d3ff8
..
cbaffa7
100644
(file)
--- a/
lib/util.c
+++ b/
lib/util.c
@@
-810,7
+810,7
@@
log_2_floor(uint32_t n)
int
log_2_ceil(uint32_t n)
{
- return log_2_floor(n) + !
IS_POW
2(n);
+ return log_2_floor(n) + !
is_pow
2(n);
}
/* Returns the number of trailing 0-bits in 'n'. Undefined if 'n' == 0. */