Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: fixed following compilation warnings:
``` path_utils/path_utils_ut.c:354:31: warning: ‘/foo/bar’ directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 354 | snprintf(p2, PATH_MAX, "%s/foo/bar", cwd); | ^~~~~~~~ ... path_utils/path_utils_ut.c:302:31: warning: ‘/foo’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 302 | snprintf(p2, PATH_MAX, "%s/foo", cwd); | ^~~~ ``` Reviewed-by: Sumit Bose <[email protected]>
- Loading branch information