diff options
Diffstat (limited to 'lib/transaction.c')
-rw-r--r-- | lib/transaction.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/transaction.c b/lib/transaction.c index a9c4a9187..46b949d5f 100644 --- a/lib/transaction.c +++ b/lib/transaction.c @@ -1061,9 +1061,9 @@ int rpmtsRun(rpmts ts, rpmps okProbs, rpmprobFilterFlags ignoreSet) (void) rpmtsSetChrootDone(ts, 1); } - ts->ht = rpmFpHashCreate(totalFileCount * 2, fpHashFunction, fpEqual, + ts->ht = rpmFpHashCreate(totalFileCount * 2 + 1, fpHashFunction, fpEqual, NULL, NULL); - fpc = fpCacheCreate(totalFileCount * 2); + fpc = fpCacheCreate(totalFileCount * 2 + 10001); /* =============================================== * Add fingerprint for each file not skipped. |