fix: update install example to work with the new resolve function

This commit is contained in:
ngn
2024-07-16 20:10:10 +03:00
parent d261d99422
commit 68a0951a9f
2 changed files with 5 additions and 4 deletions

View File

@ -53,7 +53,7 @@ int main(int argc, char *argv[]) {
printf("resolving package: %s (%s)...\n", pkg->name, pkg->version);
if ((list = lm_ctx_resolve(&ctx, pkg)) == NULL) {
if ((list = lm_ctx_resolve(&ctx, pkg, NULL)) == NULL) {
printf("failed to resolve package: %s (%d)\n", lm_strerror(), lm_error());
goto end;
}