s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
[metze/samba/wip.git] / source4 / torture / rpc / scanner.c
index c07846cc27b08be1fedc2fdf901f4671b0e347a4..e434da2615cb935bd0e1259fb25ee394029f577c 100644 (file)
@@ -128,7 +128,7 @@ bool torture_rpc_scanner(struct torture_context *torture)
                        b->endpoint = talloc_strdup(b, l->table->name);
                }
 
-               lp_set_cmdline(torture->lp_ctx, "torture:binding", dcerpc_binding_string(torture, b));
+               lpcfg_set_cmdline(torture->lp_ctx, "torture:binding", dcerpc_binding_string(torture, b));
 
                status = torture_rpc_connection(torture, &p, &ndr_table_mgmt);
                if (!NT_STATUS_IS_OK(status)) {