summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/status.c b/source3/utils/status.c
index 9a4b3a4835..5de80fa555 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -440,7 +440,7 @@ static int traverse_sessionid(struct db_record *db, void *state)
TALLOC_FREE(db);
}
- if (!locking_init(1)) {
+ if (!locking_init_readonly()) {
d_printf("Can't initialise locking module - exiting\n");
ret = 1;
goto done;