X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fvalidate.c;h=1d55b13f26ca8a5b4c4d6e11ad7686b381017ec8;hp=c2575e59cb421fbd129a54c91e15f86d85039c64;hb=02e801eabbe26a129ea05e6723c94e10bb653dab;hpb=c9384515a81cb64d345b299908b2852f51bb8e6e diff --git a/src/validate.c b/src/validate.c index c2575e5..1d55b13 100644 --- a/src/validate.c +++ b/src/validate.c @@ -170,8 +170,8 @@ bool psi_validate(struct psi_validate_scope *scope, unsigned flags = dst->flags; size_t check_count = ~0; - /* fail early if library is not found */ - if (!psi_decl_file_validate(dst, src, &scope->dlopened)) { + /* fail early if libraries are not found */ + if (!psi_decl_file_validate(dst, src)) { return false; }