diff options
Diffstat (limited to 'src/vlib/node.c')
-rw-r--r-- | src/vlib/node.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vlib/node.c b/src/vlib/node.c index 3c96d9d2a04..9de4c690c3f 100644 --- a/src/vlib/node.c +++ b/src/vlib/node.c @@ -68,7 +68,8 @@ node_set_elog_name (vlib_main_t * vm, uword node_index) vec_free (t->format); t->format = (char *) format (0, "%v-return: %%d%c", n->name, 0); - n->name_elog_string = elog_string (&vm->elog_main, "%v%c", n->name, 0); + n->name_elog_string = + elog_string (&vlib_global_main.elog_main, "%v%c", n->name, 0); } void |