s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
[bbaumbach/samba-autobuild/.git] / source4 / torture / shell.c
index 3f48075dba06d492a1a14ff94bb6321129dc1b3c..7c313af1785b28745c59f96c2c4b29c1f6e68650 100644 (file)
@@ -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;