summaryrefslogtreecommitdiffstats
path: root/source/locking
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
commitbf67721ef5cc6d5ad1762fca320ef612025b4593 (patch)
tree4220b3a0acff6c72df5ed76b522b6aaf4ac028de /source/locking
parent73033d0803317c7de017cac7f7669f4afb08e7c0 (diff)
downloadsamba-bf67721ef5cc6d5ad1762fca320ef612025b4593.tar.gz
samba-bf67721ef5cc6d5ad1762fca320ef612025b4593.tar.xz
samba-bf67721ef5cc6d5ad1762fca320ef612025b4593.zip
add some brackets
Diffstat (limited to 'source/locking')
-rw-r--r--source/locking/brlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/locking/brlock.c b/source/locking/brlock.c
index 933fc142e90..7e22b8ac7aa 100644
--- a/source/locking/brlock.c
+++ b/source/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;