diff options
Diffstat (limited to 'rpminfo.c')
-rw-r--r-- | rpminfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -267,7 +267,7 @@ PHP_FUNCTION(rpmdbinfo) rpmtsOpenDB(ts, O_RDONLY); db = rpmtsGetRdb(ts); - di = rpmdbInitIterator(db, RPMTAG_NAME, name, len); + di = rpmdbInitIterator(db, RPMDBI_LABEL, name, len); if (!di) { // Not found rpmtsCloseDB(ts); |