diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-03-29 14:51:57 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-03-29 14:51:57 +0300 |
commit | 9eeb95470b49529998d0518e3a89638400dca858 (patch) | |
tree | 2850d4d65956c41a3e315fee032b63452a7790c1 /src/fetch.c | |
parent | e783f20eff95a22452856eb3e33720d2d8c23a09 (diff) | |
download | apk-tools-9eeb95470b49529998d0518e3a89638400dca858.tar.gz apk-tools-9eeb95470b49529998d0518e3a89638400dca858.tar.bz2 apk-tools-9eeb95470b49529998d0518e3a89638400dca858.tar.xz apk-tools-9eeb95470b49529998d0518e3a89638400dca858.zip |
apk-tools-2.1.0_pre1v2.1.0_pre1
Diffstat (limited to 'src/fetch.c')
-rw-r--r-- | src/fetch.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/fetch.c b/src/fetch.c index 0f39ecd..09e3b9d 100644 --- a/src/fetch.c +++ b/src/fetch.c @@ -109,12 +109,11 @@ static int fetch_package(struct fetch_ctx *fctx, return 0; } - apk_message("Downloading %s-" BLOB_FMT, pkg->name->name, - BLOB_PRINTF(*pkg->version)); + apk_message("Downloading " PKG_VER_FMT, PKG_VER_PRINTF(pkg)); repo = apk_db_select_repo(db, pkg); if (repo == NULL) { - apk_error("%s-" BLOB_FMT ": package is not currently available", - pkg->name->name, BLOB_PRINTF(*pkg->version)); + apk_error(PKG_VER_FMT ": package is not currently available", + PKG_VER_PRINTF(pkg)); return -1; } |