X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvppinfra%2Felf_clib.c;h=2bc05e1d8d4dba8c7787f988bbe029d1cbf85ead;hb=79bfd272546dd436a4d12f0ac98571194965dab0;hp=7bb72ee3e3f90fe6459782be6e5376ea49faacb3;hpb=7cd468a3d7dee7d6c92f69a0bb7061ae208ec727;p=vpp.git diff --git a/src/vppinfra/elf_clib.c b/src/vppinfra/elf_clib.c index 7bb72ee3e3f..2bc05e1d8d4 100644 --- a/src/vppinfra/elf_clib.c +++ b/src/vppinfra/elf_clib.c @@ -153,7 +153,7 @@ clib_elf_parse_file (clib_elf_main_t * cem, clib_elf_section_bounds_t *b; /* Section name must begin with CLIB_ELF_SECTION key. */ - if (memcmp (name, section_name_start, section_name_start_len)) + if (strcmp ((char *) name, section_name_start)) continue; name += section_name_start_len;