summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-20 21:54:04 +0300
committerTimo Teräs <timo.teras@iki.fi>2013-09-20 21:54:33 +0300
commit2721772488e2e22ac53bb5712d736644a96b9569 (patch)
tree66df916382f2a9cfc571da9f2ff78306ee245cd2 /src
parent73820e4a3e63f9631bc3b25e69743f13c3b4846e (diff)
downloadapk-tools-2721772488e2e22ac53bb5712d736644a96b9569.tar.gz
apk-tools-2721772488e2e22ac53bb5712d736644a96b9569.tar.bz2
apk-tools-2721772488e2e22ac53bb5712d736644a96b9569.tar.xz
apk-tools-2721772488e2e22ac53bb5712d736644a96b9569.zip
db: minor improvements to an error and a verbose log messages
Diffstat (limited to 'src')
-rw-r--r--src/database.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database.c b/src/database.c
index 1adfc12..01914ee 100644
--- a/src/database.c
+++ b/src/database.c
@@ -2277,7 +2277,7 @@ static int apk_db_install_archive_entry(void *_ctx,
diri = find_diri(ipkg, bdir, diri, &ctx->file_diri_node);
if (diri == NULL) {
if (!APK_BLOB_IS_NULL(bdir)) {
- apk_error(PKG_VER_FMT": "BLOB_FMT": no dirent in archive\n",
+ apk_error(PKG_VER_FMT": "BLOB_FMT": no dirent in archive",
PKG_VER_PRINTF(pkg), BLOB_PRINTF(name));
ipkg->broken_files = 1;
return 0;
@@ -2376,7 +2376,7 @@ static int apk_db_install_archive_entry(void *_ctx,
memcpy(&file->csum, &ae->csum, sizeof(file->csum));
} else {
if (apk_verbosity >= 3)
- apk_message("%s", ae->name);
+ apk_message("%s (dir)", ae->name);
if (name.ptr[name.len-1] == '/')
name.len--;