1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

torture4: Fix an error message

The fsctl is called FSCTL_SET_ZERO_DATA

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2023-06-26 16:15:25 +02:00 committed by Jeremy Allison
parent 53c6f2fe91
commit c7df6cea8a

View File

@ -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;