summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-06-13 15:46:15 +0000
committerAndrew Tridgell <tridge@samba.org>2000-06-13 15:46:15 +0000
commit33179a95d82a27a077acbad57d3cd9c403afb7eb (patch)
tree10f45bac26d6ccb11d4efd16c526ebc1d19f9e10
parentec33db96d510ab483989df13d4bd4e63c9d0b6b2 (diff)
downloadsamba-33179a95d82a27a077acbad57d3cd9c403afb7eb.tar.gz
samba-33179a95d82a27a077acbad57d3cd9c403afb7eb.tar.bz2
samba-33179a95d82a27a077acbad57d3cd9c403afb7eb.zip
add some brackets
(This used to be commit bf67721ef5cc6d5ad1762fca320ef612025b4593)
-rw-r--r--source3/locking/brlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c
index 933fc142e9..7e22b8ac7a 100644
--- a/source3/locking/brlock.c
+++ b/source3/locking/brlock.c
@@ -158,7 +158,7 @@ void brl_init(int read_only)
{
if (tdb) return;
tdb = tdb_open(lock_path("brlock.tdb"), 0, TDB_CLEAR_IF_FIRST,
- read_only?O_RDONLY:O_RDWR|O_CREAT, 0644);
+ read_only?O_RDONLY:(O_RDWR|O_CREAT), 0644);
if (!tdb) {
DEBUG(0,("Failed to open byte range locking database\n"));
return;