From: Volker Lendecke Date: Mon, 26 Jun 2023 14:15:25 +0000 (+0200) Subject: torture4: Fix an error message X-Git-Tag: talloc-2.4.1~114 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c7df6cea8aff596735a0cc9be7f1e8aa6d0cd5a1;p=thirdparty%2Fsamba.git torture4: Fix an error message The fsctl is called FSCTL_SET_ZERO_DATA Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source4/torture/smb2/ioctl.c b/source4/torture/smb2/ioctl.c index 6ceaccfc7ca..925c022b998 100644 --- a/source4/torture/smb2/ioctl.c +++ b/source4/torture/smb2/ioctl.c @@ -4025,8 +4025,11 @@ bool test_ioctl_zero_data(struct torture_context *tctx) create.out.file.handle, offset, beyond_final_zero); - torture_assert_ntstatus_ok_goto(tctx, status, ret, done, - "FSCTL_ZERO_DATA failed.\n"); + torture_assert_ntstatus_ok_goto(tctx, + status, + ret, + done, + "FSCTL_SET_ZERO_DATA failed.\n"); done: return ret;