diff options
Diffstat (limited to 'rpmdb/db3.c')
-rw-r--r-- | rpmdb/db3.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rpmdb/db3.c b/rpmdb/db3.c index 86005d7b0..ef77650c7 100644 --- a/rpmdb/db3.c +++ b/rpmdb/db3.c @@ -962,8 +962,10 @@ static int db3open(rpmdb rpmdb, rpmTag rpmtag, dbiIndex * dbip) #if HAVE_LIBPTHREAD /* Set DB_PRIVATE if posix mutexes are not shared. */ - if (db3_pthread_nptl()) { + xx = db3_pthread_nptl(); + if (xx) { dbi->dbi_eflags |= DB_PRIVATE; + rpmMessage(RPMMESS_DEBUG, _("unshared posix mutexes found(%d), adding DB_PRIVATE, using fcntl lock\n"), xx); } #endif |