- added missing dbenv to db_create call
authorMichael Schroeder <mls@suse.de>
Fri, 5 Jun 2009 16:47:11 +0000 (18:47 +0200)
committerMichael Schroeder <mls@suse.de>
Fri, 5 Jun 2009 16:47:11 +0000 (18:47 +0200)
tools/repo_rpmdb.c

index 657daa3..bdd58d2 100644 (file)
@@ -1543,7 +1543,7 @@ repo_add_rpmdb(Repo *repo, Repo *ref, const char *rootdir, int flags)
            }
          if (!db)
            {
-             if (db_create(&db, 0, 0))
+             if (db_create(&db, dbenv, 0))
                {
                  perror("db_create");
                  exit(1);