fix: update install example to work with the new resolve function
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user