r25035: Fix some more warnings, use service pointer rather than service number in...
[abartlet/samba.git/.git] / source4 / cluster / ctdb / opendb_ctdb.c
index 738d8a1f0f7611e7408b0f28b6e721178b2078f2..a01478f784a52f24bf729899c6f04eb2fee0ae32 100644 (file)
@@ -97,7 +97,7 @@ static struct odb_context *odb_ctdb_init(TALLOC_CTX *mem_ctx,
        odb->ntvfs_ctx = ntvfs_ctx;
 
        /* leave oplocks disabled by default until the code is working */
-       odb->oplocks = lp_parm_bool(-1, "opendb", "oplocks", False);
+       odb->oplocks = lp_parm_bool(NULL, "opendb", "oplocks", false);
 
        return odb;
 }