summaryrefslogtreecommitdiff
path: root/src/app_add.c
diff options
context:
space:
mode:
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))