diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vlib/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/log.c b/src/vlib/log.c index fc67a1f8903..07561d98cf8 100644 --- a/src/vlib/log.c +++ b/src/vlib/log.c @@ -252,7 +252,7 @@ vlib_log (vlib_log_level_t level, vlib_log_class_t class, char *fmt, ...) ed = ELOG_DATA (&vlib_global_main.elog_main, ee); ed->log_level = level; ed->string_index = - elog_string (&vlib_global_main.elog_main, "%v", e->string); + elog_string (&vlib_global_main.elog_main, "%v%c", e->string, 0); } lm->next = (lm->next + 1) % lm->size; |