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

s3: torture: Remove the last user of SMB_VFS_WRITE.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Jeremy Allison 2018-05-02 16:49:56 -07:00 committed by Ralph Boehme
parent 532ff3a5b9
commit 98f03064f7

View File

@ -560,7 +560,7 @@ static NTSTATUS cmd_write(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc,
return NT_STATUS_UNSUCCESSFUL;
}
wsize = SMB_VFS_WRITE(vfs->files[fd], vfs->data, size);
wsize = write_file(NULL, vfs->files[fd], vfs->data, 0, size);
if (wsize == -1) {
printf("write: error=%d (%s)\n", errno, strerror(errno));