Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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,
BLOB_PRINTF(*pkg->version));
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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment