summaryrefslogtreecommitdiffstats
path: root/src/plugins/unittest/util_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/unittest/util_test.c')
-rw-r--r--src/plugins/unittest/util_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/unittest/util_test.c b/src/plugins/unittest/util_test.c
index 67fe0093ab8..8dce270f814 100644
--- a/src/plugins/unittest/util_test.c
+++ b/src/plugins/unittest/util_test.c
@@ -29,7 +29,7 @@ test_crash_command_fn (vlib_main_t * vm,
.format_args = "i4",
};
/* *INDENT-ON* */
- elog (&vm->elog_main, &e, 0xdefec8ed);
+ elog (&vlib_global_main.elog_main, &e, 0xdefec8ed);
*p = 0xdeadbeef;