summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-05-27 10:25:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:50 -0500
commit1e6af7084bafe29021b0ad2ee49c3bbf90e350ca (patch)
tree0af42a24669a366904ffa8db5bafe8fb77e62aa8 /source3/locking
parent6e5c23728cb290b8defe165fb3a0815521229328 (diff)
downloadsamba-1e6af7084bafe29021b0ad2ee49c3bbf90e350ca.tar.gz
samba-1e6af7084bafe29021b0ad2ee49c3bbf90e350ca.tar.bz2
samba-1e6af7084bafe29021b0ad2ee49c3bbf90e350ca.zip
r23164: Minor cosmetic checkin
(This used to be commit 8de1ac9fadb1b0dcac28eef32f7826e9e3a7eca4)
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/locking.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index f83467ad83..cc6957b4e3 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -382,8 +382,8 @@ BOOL locking_init(int read_only)
lock_db = db_open(NULL, lock_path("locking.tdb"),
lp_open_files_db_hash_size(),
TDB_DEFAULT
- |(read_only?0x0:TDB_CLEAR_IF_FIRST)
- |TDB_VOLATILE,
+ |TDB_VOLATILE
+ |(read_only?0x0:TDB_CLEAR_IF_FIRST),
read_only?O_RDONLY:O_RDWR|O_CREAT, 0644);
if (!lock_db) {