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:
parent
532ff3a5b9
commit
98f03064f7
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user