]> pd.if.org Git - zpackage/blobdiff - lib/zpm.c
more verbose missing hash error in zpm_extract
[zpackage] / lib / zpm.c
index 8e0687542c290f49dbdf0298045a0bb67a158cd1..72b5777f1266415f71b79723d791e30a6ad226b7 100644 (file)
--- 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 */