aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/elf_clib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/elf_clib.c')
-rw-r--r--src/vppinfra/elf_clib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/elf_clib.c b/src/vppinfra/elf_clib.c
index b76c264e239..d2865f800e3 100644
--- a/src/vppinfra/elf_clib.c
+++ b/src/vppinfra/elf_clib.c
@@ -94,7 +94,7 @@ path_search (char *file)
result = 0;
if (i < vec_len (ps.path))
- result = (char *) format (0, "%s/%s%c", ps.path[i], file);
+ result = (char *) format (0, "%s/%s%c", ps.path[i], file, 0);
path_search_free (&ps);