aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples/vlib/mc_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/vlib/mc_test.c')
-rw-r--r--src/examples/vlib/mc_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/vlib/mc_test.c b/src/examples/vlib/mc_test.c
index 464d07cc471..6d63be3a912 100644
--- a/src/examples/vlib/mc_test.c
+++ b/src/examples/vlib/mc_test.c
@@ -241,7 +241,7 @@ mc_test_process (vlib_main_t * vm,
}
if (event_data)
- _vec_len (event_data) = 0;
+ vec_set_len (event_data, 0);
}
}