r25035: Fix some more warnings, use service pointer rather than service number in...
[jelmer/samba4-debian.git] / source / ntvfs / common / opendb_tdb.c
index 0a79b791250f6a5982e3f861fa5639150d14cae9..7c6e9f48b3dca6c666f2c4c3ab362b2817297955 100644 (file)
@@ -88,7 +88,7 @@ static struct odb_context *odb_tdb_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;
 }