summaryrefslogtreecommitdiff
path: root/source4/torture/smbiconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/smbiconv.c')
-rw-r--r--source4/torture/smbiconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/smbiconv.c b/source4/torture/smbiconv.c
index 173f37175b..f1a7d899a5 100644
--- a/source4/torture/smbiconv.c
+++ b/source4/torture/smbiconv.c
@@ -205,7 +205,7 @@ int main(int argc, char *argv[])
}
}
- cd = smb_iconv_open_ex(tctx, to, from, lp_parm_bool(tctx->lp_ctx, NULL, "iconv", "native", true));
+ cd = smb_iconv_open_ex(tctx, to, from, lpcfg_parm_bool(tctx->lp_ctx, NULL, "iconv", "native", true));
if((int)cd == -1) {
DEBUG(0,("unable to find from or to encoding, exiting...\n"));
if (out != stdout) fclose(out);