Commit e783f20e authored by Timo Teräs's avatar Timo Teräs
Browse files

fetch: fix package version print

broke after making the version field an atom because the printf
was not updated accordingly.
parent 8e01be47
......@@ -109,11 +109,12 @@ static int fetch_package(struct fetch_ctx *fctx,
return 0;
apk_message("Downloading %s-%s", pkg->name->name, pkg->version);
apk_message("Downloading %s-" BLOB_FMT, pkg->name->name,
repo = apk_db_select_repo(db, pkg);
if (repo == NULL) {
apk_error("%s-%s: package is not currently available",
pkg->name->name, pkg->version);
apk_error("%s-" BLOB_FMT ": package is not currently available",
pkg->name->name, BLOB_PRINTF(*pkg->version));
return -1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment