summaryrefslogtreecommitdiff
path: root/rpmdb/dbconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpmdb/dbconfig.c')
-rw-r--r--rpmdb/dbconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdb/dbconfig.c b/rpmdb/dbconfig.c
index 63ec6941a..93ad1e817 100644
--- a/rpmdb/dbconfig.c
+++ b/rpmdb/dbconfig.c
@@ -267,7 +267,7 @@ dbiIndex db3New(rpmdb rpmdb, rpmTag rpmtag)
char dbiTagMacro[128];
char * dbOpts;
- sprintf(dbiTagMacro, "%%{_dbi_config_%s}", tagName(rpmtag));
+ sprintf(dbiTagMacro, "%%{_dbi_config_%s}", rpmTagGetName(rpmtag));
dbOpts = rpmExpand(dbiTagMacro, NULL);
if (!(dbOpts && *dbOpts && *dbOpts != '%')) {
dbOpts = _free(dbOpts);