git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec33db9
)
add some brackets
author
Andrew Tridgell
<tridge@samba.org>
Tue, 13 Jun 2000 15:46:15 +0000
(15:46 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 13 Jun 2000 15:46:15 +0000
(15:46 +0000)
(This used to be commit
bf67721ef5cc6d5ad1762fca320ef612025b4593
)
source3/locking/brlock.c
patch
|
blob
|
history
diff --git
a/source3/locking/brlock.c
b/source3/locking/brlock.c
index 933fc142e904a3c83f9995301cca32a9b14f5679..7e22b8ac7aa04ebbb99f07eb9a3592b08cb283b9 100644
(file)
--- 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;