diff options
Diffstat (limited to 'source4/torture/local/iconv.c')
-rw-r--r-- | source4/torture/local/iconv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/local/iconv.c b/source4/torture/local/iconv.c index 28834a6680..e41e40dc8d 100644 --- a/source4/torture/local/iconv.c +++ b/source4/torture/local/iconv.c @@ -304,8 +304,8 @@ static bool test_first_1m(struct torture_context *tctx) } if (codepoint % 1000 == 0) { - if (!lp_parm_bool(-1, "torture", "progress", True)) { - printf("codepoint=%u \r", codepoint); + if (!torture_setting_bool(tctx, "progress", True)) { + torture_comment(tctx, "codepoint=%u \r", codepoint); } } @@ -324,7 +324,7 @@ static bool test_random_5m(struct torture_context *tctx) unsigned int c; if (i % 1000 == 0) { - if (!lp_parm_bool(-1, "torture", "progress", True)) { + if (!torture_setting_bool(tctx, "progress", true)) { torture_comment(tctx, "i=%u \r", i); } } |