diff options
Diffstat (limited to 'src/vlib/error_funcs.h')
-rw-r--r-- | src/vlib/error_funcs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/error_funcs.h b/src/vlib/error_funcs.h index ab281ba2ef8..4fea1ce6dc0 100644 --- a/src/vlib/error_funcs.h +++ b/src/vlib/error_funcs.h @@ -47,7 +47,7 @@ vlib_error_elog_count (vlib_main_t * vm, uword counter, uword increment) { if (VLIB_ELOG_MAIN_LOOP > 0 && increment > 0) { - elog_main_t *em = &vm->elog_main; + elog_main_t *em = vlib_get_elog_main (); elog (em, vec_elt_at_index (vm->error_elog_event_types, counter), increment); } |