From 24992f1f426111f0ce05df341087a55486ae48db Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 24 Apr 2020 14:13:37 -0400 Subject: Fix invocation of join_ex() --- tests/test_shlib_spm_shlib_deps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_shlib_spm_shlib_deps.c') diff --git a/tests/test_shlib_spm_shlib_deps.c b/tests/test_shlib_spm_shlib_deps.c index 46a06db..4f0bfd4 100644 --- a/tests/test_shlib_spm_shlib_deps.c +++ b/tests/test_shlib_spm_shlib_deps.c @@ -30,7 +30,7 @@ static char *find_library(const char *name) { } for (size_t i = 0; LIBRARY_SEARCH_PATH[i] != NULL; i++) { - path = join_ex(path, DIRSEPS, LIBRARY_SEARCH_PATH[i], name); + path = join_ex(DIRSEPS, LIBRARY_SEARCH_PATH[i], name, NULL); if (path != NULL && exists(path) == 0) { break; } -- cgit