summaryrefslogtreecommitdiff
path: root/src/database.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-20 21:31:29 +0300
committerTimo Teräs <timo.teras@iki.fi>2013-09-20 21:31:29 +0300
commitcecb810746113a57ac65236495014fd4aa43982b (patch)
tree469f11a94bba81e934c261a861e2e53cf883388a /src/database.c
parent1d9961cf4a3e7c2f8e650f60f66232d9b57525d4 (diff)
downloadapk-tools-cecb810746113a57ac65236495014fd4aa43982b.tar.gz
apk-tools-cecb810746113a57ac65236495014fd4aa43982b.tar.bz2
apk-tools-cecb810746113a57ac65236495014fd4aa43982b.tar.xz
apk-tools-cecb810746113a57ac65236495014fd4aa43982b.zip
db: fix error message
Diffstat (limited to 'src/database.c')
-rw-r--r--src/database.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database.c b/src/database.c
index d8b84b5..1adfc12 100644
--- a/src/database.c
+++ b/src/database.c
@@ -2278,7 +2278,7 @@ static int apk_db_install_archive_entry(void *_ctx,
if (diri == NULL) {
if (!APK_BLOB_IS_NULL(bdir)) {
apk_error(PKG_VER_FMT": "BLOB_FMT": no dirent in archive\n",
- pkg, BLOB_PRINTF(name));
+ PKG_VER_PRINTF(pkg), BLOB_PRINTF(name));
ipkg->broken_files = 1;
return 0;
}