diff --git a/lib/verify.c b/lib/verify.c index 197119c..8045c4b 100644 --- a/lib/verify.c +++ b/lib/verify.c @@ -475,7 +475,7 @@ static int verifyDependencies(rpmdb rpmdb, Header h) const char *n, *v, *r; char * t, * te; int nb = 512; - (void) headerNVR(h, &n, &v, &r); + (void) headerNVRD(h, &n, &v, &r, NULL); // we don't print the disttag int i; for (i = 0; i < numConflicts; i++) { @@ -523,7 +523,7 @@ int showVerifyPackage(QVA_t qva, rpmdb rpmdb, Header h) if (qva->qva_flags & VERIFY_DIGEST) { if ((rc = rpmVerifyDigest(h)) != 0) { const char *n, *v, *r; - (void) headerNVR(h, &n, &v, &r); + (void) headerNVRD(h, &n, &v, &r, NULL); // we don't print the disttag rpmMessage(RPMMESS_NORMAL, _("%s-%s-%s: immutable header region digest check failed\n"), n, v, r); diff --git a/rpmdb/rpmdb.c b/rpmdb/rpmdb.c index ada9d36..37c444b 100644 --- a/rpmdb/rpmdb.c +++ b/rpmdb/rpmdb.c @@ -2041,7 +2041,7 @@ exit: #ifdef NOTNOW if (mi->mi_h) { const char *n, *v, *r; - (void) headerNVR(mi->mi_h, &n, &v, &r); + (void) headerNVRD(mi->mi_h, &n, &v, &r, NULL); // we don't print the disttag rpmMessage(RPMMESS_DEBUG, "%s-%s-%s at 0x%x, h %p\n", n, v, r, mi->mi_offset, mi->mi_h); } @@ -2312,7 +2312,7 @@ int rpmdbRemove(rpmdb db, /*@unused@*/ int rid, unsigned int hdrNum) #endif { const char *n, *v, *r; - (void) headerNVR(h, &n, &v, &r); + (void) headerNVRD(h, &n, &v, &r, NULL); // we don't print the disttag rpmMessage(RPMMESS_DEBUG, " --- %10u %s-%s-%s\n", hdrNum, n, v, r); } @@ -2646,7 +2646,7 @@ int rpmdbAdd(rpmdb db, int iid, Header h) if (!dbi->dbi_no_dbsync) xx = dbiSync(dbi, 0); { const char *n, *v, *r; - xx = headerNVR(h, &n, &v, &r); + xx = headerNVRD(h, &n, &v, &r, NULL); // we don't print the disttag rpmMessage(RPMMESS_DEBUG, " +++ %10u %s-%s-%s\n", hdrNum, n, v, r); } }