fetch: fix package version print
broke after making the version field an atom because the printf was not updated accordingly.cute-signatures
parent
8e01be4777
commit
e783f20eff
|
@ -109,11 +109,12 @@ static int fetch_package(struct fetch_ctx *fctx,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
apk_message("Downloading %s-%s", pkg->name->name, pkg->version);
|
apk_message("Downloading %s-" BLOB_FMT, pkg->name->name,
|
||||||
|
BLOB_PRINTF(*pkg->version));
|
||||||
repo = apk_db_select_repo(db, pkg);
|
repo = apk_db_select_repo(db, pkg);
|
||||||
if (repo == NULL) {
|
if (repo == NULL) {
|
||||||
apk_error("%s-%s: package is not currently available",
|
apk_error("%s-" BLOB_FMT ": package is not currently available",
|
||||||
pkg->name->name, pkg->version);
|
pkg->name->name, BLOB_PRINTF(*pkg->version));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue