aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/l2/feat_bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/l2/feat_bitmap.h')
-rw-r--r--src/vnet/l2/feat_bitmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/l2/feat_bitmap.h b/src/vnet/l2/feat_bitmap.h
index 5940ff7ea9b..a1b295ac4ac 100644
--- a/src/vnet/l2/feat_bitmap.h
+++ b/src/vnet/l2/feat_bitmap.h
@@ -80,7 +80,7 @@ feat_bitmap_get_next_node_index (u32 * next_nodes, u32 bitmap)
{
u32 first_bit;
- count_leading_zeros (first_bit, bitmap);
+ first_bit = count_leading_zeros (bitmap);
first_bit = uword_bits - 1 - first_bit;
return next_nodes[first_bit];
}