summaryrefslogtreecommitdiff
path: root/db/fileops
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2003-06-13 17:04:02 +0000
committerjbj <devnull@localhost>2003-06-13 17:04:02 +0000
commit8e19d00216a6d200937fb9383f96f7a6dedd4abd (patch)
tree1711512dab120f3d89207723347428b280ba8069 /db/fileops
parentcecbf1bdb2c28210916ed4d917430980cc76e1ec (diff)
downloadrpm-8e19d00216a6d200937fb9383f96f7a6dedd4abd.tar.gz
rpm-8e19d00216a6d200937fb9383f96f7a6dedd4abd.tar.bz2
rpm-8e19d00216a6d200937fb9383f96f7a6dedd4abd.zip
Apply patch.4.1.25.1.
CVS patchset: 6900 CVS date: 2003/06/13 17:04:02
Diffstat (limited to 'db/fileops')
-rw-r--r--db/fileops/fop_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/fileops/fop_util.c b/db/fileops/fop_util.c
index 329ec3f28..a2c5107b8 100644
--- a/db/fileops/fop_util.c
+++ b/db/fileops/fop_util.c
@@ -40,7 +40,7 @@ static int __fop_set_pgsize __P((DB *, DB_FH *, const char *));
u_int32_t __lockval; \
\
if (LOCKING_ON((ENV))) { \
- __lockval = 0; \
+ __lockval = 1; \
__dbt.data = &__lockval; \
__dbt.size = sizeof(__lockval); \
if ((ret = (ENV)->lock_get((ENV), (ID), \