Remove global_loadparm instance.
[kai/samba.git] / source4 / torture / raw / composite.c
index d73ac1327e1b80c6556a7d7613846cb4b41688e5..a151854e59b705ebb73f0ec99f00630b3c99fe95 100644 (file)
@@ -358,7 +358,7 @@ static bool test_fsinfo(struct smbcli_state *cli, struct torture_context *tctx)
        c = talloc_array(tctx, struct composite_context *, torture_numops);
 
        for (i=0; i<torture_numops; i++) {
-               c[i] = smb_composite_fsinfo_send(cli->tree,&io1);
+               c[i] = smb_composite_fsinfo_send(cli->tree, &io1, lp_resolve_context(tctx->lp_ctx));
                c[i]->async.fn = loadfile_complete;
                c[i]->async.private_data = count;
        }