summaryrefslogtreecommitdiffstats
path: root/vlib
diff options
context:
space:
mode:
Diffstat (limited to 'vlib')
-rw-r--r--vlib/vlib/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vlib/vlib/main.c b/vlib/vlib/main.c
index c4062a7f333..809abdf5538 100644
--- a/vlib/vlib/main.c
+++ b/vlib/vlib/main.c
@@ -1569,9 +1569,9 @@ dummy_queue_signal_callback (vlib_main_t * vm)
/* Main function. */
int
-vlib_main (vlib_main_t * vm, unformat_input_t * input)
+vlib_main (vlib_main_t * volatile vm, unformat_input_t * input)
{
- clib_error_t *error;
+ clib_error_t *volatile error;
vm->queue_signal_callback = dummy_queue_signal_callback;