summaryrefslogtreecommitdiffstats
path: root/source/locking/locking.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-06-13 15:46:46 +0000
committerAndrew Tridgell <tridge@samba.org>2000-06-13 15:46:46 +0000
commitb9d78738bb30da3d989dfacc95cfde529f2afca5 (patch)
tree48e31d33250c0afd38dedeb8202d95d9128bc603 /source/locking/locking.c
parentbf67721ef5cc6d5ad1762fca320ef612025b4593 (diff)
downloadsamba-b9d78738bb30da3d989dfacc95cfde529f2afca5.tar.gz
samba-b9d78738bb30da3d989dfacc95cfde529f2afca5.tar.xz
samba-b9d78738bb30da3d989dfacc95cfde529f2afca5.zip
allow posix locking database to be opened read-only (for smbstatus)
Diffstat (limited to 'source/locking/locking.c')
-rw-r--r--source/locking/locking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/locking/locking.c b/source/locking/locking.c
index 302b5b56c98..8fc1c4a4bcd 100644
--- a/source/locking/locking.c
+++ b/source/locking/locking.c
@@ -233,7 +233,7 @@ BOOL locking_init(int read_only)
return False;
}
- if (!posix_locking_init())
+ if (!posix_locking_init(read_only))
return False;
return True;