summaryrefslogtreecommitdiff
path: root/source/smbwrapper
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-10-09 20:17:11 +0000
committerLuke Leighton <lkcl@samba.org>1998-10-09 20:17:11 +0000
commite0445419b2d50ae6efef36f4f295ebcfdbf1ad82 (patch)
treebeaeeb48062c0e8d1705e63f01f74d2e05352e0b /source/smbwrapper
parentcaeb99201a1471bd709b4e8f07c57e5caabf0795 (diff)
downloadsamba-e0445419b2d50ae6efef36f4f295ebcfdbf1ad82.tar.gz
dce/rpc.
Diffstat (limited to 'source/smbwrapper')
-rw-r--r--source/smbwrapper/smbw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbwrapper/smbw.c b/source/smbwrapper/smbw.c
index 660e65f421e..c0990b62b11 100644
--- a/source/smbwrapper/smbw.c
+++ b/source/smbwrapper/smbw.c
@@ -737,7 +737,7 @@ ssize_t smbw_pwrite(int fd, void *buf, size_t count, off_t ofs)
return -1;
}
- ret = cli_write(&file->srv->cli, file->f->cli_fd, buf, ofs, count);
+ ret = cli_write(&file->srv->cli, file->f->cli_fd, 0, buf, ofs, count);
if (ret == -1) {
errno = smbw_errno(&file->srv->cli);