diff options
Diffstat (limited to 'src/plugins/map/map.c')
-rw-r--r-- | src/plugins/map/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/map/map.c b/src/plugins/map/map.c index c2e821aa2e0..30031974b40 100644 --- a/src/plugins/map/map.c +++ b/src/plugins/map/map.c @@ -1098,7 +1098,7 @@ map_error_counter_get (u32 node_index, map_error_t map_error) vlib_node_t *n = vlib_get_node (vm, node_index); u32 ci; - ci = vlib_error_get_code (e); + ci = vlib_error_get_code (&vm->node_main, e); ASSERT (ci < n->n_errors); ci += n->error_heap_index; |