For discussion of Alpine Linux development and developer support

[alpine-devel] [PATCH] add: add missing package specifier to the error message

Consus
Details
Message ID
<20170411123208.GA16107@daphne>
Sender timestamp
1491913928
DKIM signature
missing
Download raw message
Patch: +1 -1
---
 src/add.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/add.c b/src/add.c
index 2df4dc8..f4695d0 100644
--- a/src/add.c
+++ b/src/add.c
@@ -92,7 +92,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_null_blob) {
-			apk_error("%s: bad package specifier");
+			apk_error("%s: bad package specifier", actx->virtpkg);
 			return -1;
 		}
 
-- 
2.12.2



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---