summaryrefslogtreecommitdiff
path: root/src/app_add.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2021-07-26 10:25:23 +0300
committerTimo Teräs <timo.teras@iki.fi>2021-07-26 10:32:05 +0300
commit0eac0ed5f5575e4e115cc6a002b05e59d7f98f55 (patch)
tree98dd4462056b357d5aeae1b81010866f0dbe30df /src/app_add.c
parent9e54fcf4be0d62e13e5a6fed481a1c08cd59c871 (diff)
downloadapk-tools-0eac0ed5f5575e4e115cc6a002b05e59d7f98f55.tar.gz
apk-tools-0eac0ed5f5575e4e115cc6a002b05e59d7f98f55.tar.bz2
apk-tools-0eac0ed5f5575e4e115cc6a002b05e59d7f98f55.tar.xz
apk-tools-0eac0ed5f5575e4e115cc6a002b05e59d7f98f55.zip
Use __attribute__ ((format)) where possible and fix issues found by it
Diffstat (limited to 'src/app_add.c')
-rw-r--r--src/app_add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app_add.c b/src/app_add.c
index f4acd22..4bc9894 100644
--- a/src/app_add.c
+++ b/src/app_add.c
@@ -129,7 +129,7 @@ static int add_main(void *ctx, struct apk_database *db, struct apk_string_array
if (APK_BLOB_IS_NULL(b) || virtdep.conflict ||
virtdep.result_mask != APK_DEPMASK_ANY ||
virtdep.version != &apk_atom_null) {
- apk_error("%s: bad package specifier");
+ apk_error("%s: bad package specifier", actx->virtpkg);
return -1;
}
if (virtdep.name->name[0] != '.' && non_repository_check(db))