r25392: Add loadparm context as argument in a couple more places.
[ira/wip.git] / source4 / torture / raw / samba3misc.c
index 3f6c552cb4c1aab72ad46046e2250e7fb7346740..aad13ecd8fd894e6a1c08d3619b60a5eaf3b0f9d 100644 (file)
@@ -346,7 +346,7 @@ bool torture_samba3_badpath(struct torture_context *torture)
 
        nt_status_support = lp_nt_status_support();
 
-       if (!lp_set_cmdline("nt status support", "yes")) {
+       if (!lp_set_cmdline(global_loadparm, "nt status support", "yes")) {
                printf("Could not set 'nt status support = yes'\n");
                goto fail;
        }
@@ -355,7 +355,7 @@ bool torture_samba3_badpath(struct torture_context *torture)
                goto fail;
        }
 
-       if (!lp_set_cmdline("nt status support", "no")) {
+       if (!lp_set_cmdline(global_loadparm, "nt status support", "no")) {
                printf("Could not set 'nt status support = yes'\n");
                goto fail;
        }
@@ -364,7 +364,7 @@ bool torture_samba3_badpath(struct torture_context *torture)
                goto fail;
        }
 
-       if (!lp_set_cmdline("nt status support",
+       if (!lp_set_cmdline(global_loadparm, "nt status support",
                            nt_status_support ? "yes":"no")) {
                printf("Could not reset 'nt status support = yes'");
                goto fail;