From e783f20eff95a22452856eb3e33720d2d8c23a09 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Tue, 29 Mar 2011 13:09:45 +0300 Subject: fetch: fix package version print broke after making the version field an atom because the printf was not updated accordingly. --- src/fetch.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3-60-g2f50