summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fetch.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/fetch.c b/src/fetch.c
index b67a189..0f39ecd 100644
--- a/src/fetch.c
+++ b/src/fetch.c
@@ -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;
}