summaryrefslogtreecommitdiff
path: root/source4/torture/shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/shell.c')
-rw-r--r--source4/torture/shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/shell.c b/source4/torture/shell.c
index 3f48075dba..7c313af178 100644
--- a/source4/torture/shell.c
+++ b/source4/torture/shell.c
@@ -179,14 +179,14 @@ static void shell_set(const struct shell_command *command,
switch (argc) {
case 0:
- lp_dump(tctx->lp_ctx, stdout,
+ lpcfg_dump(tctx->lp_ctx, stdout,
false /* show_defaults */,
0 /* skip services */);
break;
case 2:
name = talloc_asprintf(NULL, "torture:%s", argv[0]);
- lp_set_cmdline(tctx->lp_ctx, name, argv[1]);
+ lpcfg_set_cmdline(tctx->lp_ctx, name, argv[1]);
talloc_free(name);
break;