diff options
author | Ryo Nishikawa <nishikawa0320@gmail.com> | 2021-04-22 23:31:09 +0900 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-04-27 09:26:11 +0000 |
commit | 4ec02990a73e0549cababa3a8e9f2d69e5cdffac (patch) | |
tree | 0f2a5ed480867ac59cd582605a56fc4063986dc5 /src/vppinfra | |
parent | 98d83627411eb99c98e567a60f37b389780a1344 (diff) |
vppinfra: Fix a bug related to path_search
Type: fix
Signed-off-by: Ryo Nishikawa <nishikawa0320@gmail.com>
Change-Id: Iabf7e088245395ea3fff62a22266a31de3fc305e
Diffstat (limited to 'src/vppinfra')
-rw-r--r-- | src/vppinfra/elf_clib.c | 2 |
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); |