diff --git a/src/66-tools/66-which.c b/src/66-tools/66-which.c index 895b8831b612890e50688e2f5538ca7267dddd12..6d70811ab40487000b1ab1304f8e66a4489dee49 100644 --- a/src/66-tools/66-which.c +++ b/src/66-tools/66-which.c @@ -69,7 +69,7 @@ int parse_path(genalloc* folders, char* path) { found = 0; len = genalloc_len(char const*, folders); for ( i = 0 ; i < len ; i++) { - if (obstr_equal(ss[i], rp)) { + if (!strcmp(ss[i], rp)) { found = 1 ; break ; }