summaryrefslogtreecommitdiff
path: root/source4/torture/raw
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/raw')
-rw-r--r--source4/torture/raw/write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/raw/write.c b/source4/torture/raw/write.c
index 75d275fc3c..b704a19ed6 100644
--- a/source4/torture/raw/write.c
+++ b/source4/torture/raw/write.c
@@ -237,9 +237,9 @@ static bool test_writex(struct torture_context *tctx,
union smb_fileinfo finfo;
int max_bits=63;
- if (!lp_parm_bool(-1, "torture", "dangerous", False)) {
+ if (!torture_setting_bool(tctx, "dangerous", false)) {
max_bits=33;
- printf("dangerous not set - limiting range of test to 2^%d\n", max_bits);
+ torture_comment(tctx, "dangerous not set - limiting range of test to 2^%d\n", max_bits);
}
buf = talloc_zero_size(tctx, maxsize);