From c7ba15526ed6b0bebccfa080ad021654a8c311ae Mon Sep 17 00:00:00 2001 From: Nathan Wagner Date: Sun, 2 Apr 2017 17:38:22 -0500 Subject: [PATCH] more verbose missing hash error in zpm_extract --- lib/zpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zpm.c b/lib/zpm.c index 8e06875..72b5777 100644 --- a/lib/zpm.c +++ b/lib/zpm.c @@ -425,7 +425,7 @@ int zpm_extract(struct zpm *pkg, char *hash, char *path, int mode) { /* didn't find a row */ sqlite3_finalize(ifile); sqlite3_close(db); - fprintf(stderr, "no such hash\n"); + fprintf(stderr, "no such hash: %s\n", hash); return 0; } /* either way we're done with this now */ -- 2.40.0