From: Nathan Wagner Date: Sun, 2 Apr 2017 22:38:22 +0000 (-0500) Subject: more verbose missing hash error in zpm_extract X-Git-Tag: v0.1.6~126 X-Git-Url: https://pd.if.org/git/?p=zpackage;a=commitdiff_plain;h=c7ba15526ed6b0bebccfa080ad021654a8c311ae more verbose missing hash error in zpm_extract --- 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 */