summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/countcalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/rpc/countcalls.c')
-rw-r--r--source4/torture/rpc/countcalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/countcalls.c b/source4/torture/rpc/countcalls.c
index f9a31feaaf..ba00b0f467 100644
--- a/source4/torture/rpc/countcalls.c
+++ b/source4/torture/rpc/countcalls.c
@@ -111,7 +111,7 @@ bool torture_rpc_countcalls(struct torture_context *torture)
if (!mem_ctx) {
return false;
}
- iface_name = lp_parm_string(global_loadparm, NULL, "countcalls", "interface");
+ iface_name = lp_parm_string(torture->lp_ctx, NULL, "countcalls", "interface");
if (iface_name != NULL) {
iface = ndr_table_by_name(iface_name);
if (!iface) {