Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix warning of strncpy() size field.
bcc/tests/cc/test_c_api.cc:159:10: warning: ‘char* strncpy(char*, const char*, size_t)’ specified bound 1024 equals destination size [-Wstringop-truncation] 159 | strncpy(libpath, lm->l_name, 1024); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
- Loading branch information